summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-09-20 11:51:38 +0200
committerportix <portix@gmx.net>2011-09-20 11:51:38 +0200
commitf645dd9a177850bd1bfec78ccaf09c52029a5513 (patch)
treec6d9bac26567d21f7b094fa7001df9294071c4d3 /src/Makefile
parentce7c366a09b5e8e8d29da7868b51d5d05ae79235 (diff)
downloaddwb-f645dd9a177850bd1bfec78ccaf09c52029a5513.zip
Compiler flags
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index c7668650..fe6fefc7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -10,14 +10,14 @@ all: $(TARGET)
$(TARGET): $(OBJ)
@echo "$(CC) $@"
- @$(CC) $(LDFLAGS) $(OBJ) -o $(TARGET)
+ @$(CC) $(FLAGS) $(OBJ) -o $(TARGET)
-include $(OBJ:.o=.d)
-include $(DOBJ:.do=.dd)
%.o: %.c
@echo "${CC} $<"
- @$(CC) $(CFLAGS) -c -o $@ $<
+ @$(CC) $(FLAGS) -c -o $@ $<
#@$(CC) $(FLAGS) -MM $*.c > $*.d
@@ -26,11 +26,11 @@ debug: $(DTARGET)
%.do: %.c
@echo "${CC} $<"
- @$(CC) $(DCFLAGS) -c -o $@ $<
+ @$(CC) $(DFLAGS) -c -o $@ $<
$(DTARGET): $(DOBJ)
@echo "$(CC) $@"
- @$(CC) $(LDFLAGS) $(DOBJ) -o $(DTARGET)
+ @$(CC) $(DFLAGS) $(DOBJ) -o $(DTARGET)
cgdb: debug
cgdb $(DTARGET)