diff options
author | portix <portix@gmx.net> | 2011-09-20 11:51:38 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-20 11:51:38 +0200 |
commit | f645dd9a177850bd1bfec78ccaf09c52029a5513 (patch) | |
tree | c6d9bac26567d21f7b094fa7001df9294071c4d3 /src/Makefile | |
parent | ce7c366a09b5e8e8d29da7868b51d5d05ae79235 (diff) | |
download | dwb-f645dd9a177850bd1bfec78ccaf09c52029a5513.zip |
Compiler flags
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 8 |
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) |