diff options
author | portix <portix@gmx.net> | 2011-09-20 12:46:36 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-20 12:46:36 +0200 |
commit | 1a8602a230b29263d7e9a19f02257dc1954480d8 (patch) | |
tree | 612974e05ab36f04a08648d2bec9a9f059780200 /src/Makefile | |
parent | f645dd9a177850bd1bfec78ccaf09c52029a5513 (diff) | |
download | dwb-1a8602a230b29263d7e9a19f02257dc1954480d8.zip |
Malloc args for the settings-hashtable, CFLAGS + LDFLAGS
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) |