diff options
author | portix <portix@gmx.net> | 2011-09-19 19:33:57 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-19 19:33:57 +0200 |
commit | c8221e390d27cc4a3e887b3ffd6cfb04caeefa09 (patch) | |
tree | 6420b37bdc370da4d8035d65b0d3abd4249962e9 /src/Makefile | |
parent | 1cf9ec79f38a4c001afd52f5472bdfec3f9d19c2 (diff) | |
download | dwb-c8221e390d27cc4a3e887b3ffd6cfb04caeefa09.zip |
Introducing CFLAGS and LDFLAGS in place of 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 fe6fefc7..c7668650 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,14 +10,14 @@ all: $(TARGET) $(TARGET): $(OBJ) @echo "$(CC) $@" - @$(CC) $(FLAGS) $(OBJ) -o $(TARGET) + @$(CC) $(LDFLAGS) $(OBJ) -o $(TARGET) -include $(OBJ:.o=.d) -include $(DOBJ:.do=.dd) %.o: %.c @echo "${CC} $<" - @$(CC) $(FLAGS) -c -o $@ $< + @$(CC) $(CFLAGS) -c -o $@ $< #@$(CC) $(FLAGS) -MM $*.c > $*.d @@ -26,11 +26,11 @@ debug: $(DTARGET) %.do: %.c @echo "${CC} $<" - @$(CC) $(DFLAGS) -c -o $@ $< + @$(CC) $(DCFLAGS) -c -o $@ $< $(DTARGET): $(DOBJ) @echo "$(CC) $@" - @$(CC) $(DFLAGS) $(DOBJ) -o $(DTARGET) + @$(CC) $(LDFLAGS) $(DOBJ) -o $(DTARGET) cgdb: debug cgdb $(DTARGET) |