From 0adad044e7e98ccdf23249c7bb20bb349ddb9a7c Mon Sep 17 00:00:00 2001
From: Oliver Schmidt 
Date: Thu, 19 Dec 2013 09:17:41 +0100
Subject: [PATCH] Moved USER_CFLAGS to the other flags.
---
 src/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index 1a55f1fb2..7e6964579 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,10 +27,9 @@ else
 endif
 
 CFLAGS += -MMD -MP -O -std=c89 -I common \
-          -Wall -Wextra -Wno-char-subscripts -Werror \
+          -Wall -Wextra -Wno-char-subscripts -Werror $(USER_CFLAGS) \
           -DCA65_INC=$(CA65_INC) -DCC65_INC=$(CC65_INC) \
-          -DLD65_LIB=$(LD65_LIB) -DLD65_OBJ=$(LD65_OBJ) -DLD65_CFG=$(LD65_CFG) \
-          $(USER_CFLAGS)
+          -DLD65_LIB=$(LD65_LIB) -DLD65_OBJ=$(LD65_OBJ) -DLD65_CFG=$(LD65_CFG)
 
 LDLIBS += -lm
 
-- 
2.39.5