diff options
author | portix <portix@gmx.net> | 2011-10-26 18:40:18 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-10-26 18:40:18 +0200 |
commit | 95927a5d91069673b42264ea04b5732593a379c6 (patch) | |
tree | e25845ae5f450bc7a4009e546ddf7b8200720609 /src/Makefile | |
parent | c7beaefa8343566a1962950ac7cfb45113330b30 (diff) | |
download | dwb-95927a5d91069673b42264ea04b5732593a379c6.zip |
Checking for system datadirs and fixing a possible memory corruption in html.c, fixes #54
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 9b27983c..fd11f530 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,6 @@ include ../config.mk +DEPS=$(patsubst %.o, %.d, $(OBJ)) all: $(TARGET) $(TARGET): $(OBJ) @@ -9,14 +10,17 @@ $(TARGET): $(OBJ) -include $(OBJ:.o=.d) -include $(DOBJ:.do=.dd) -%.o: %.c +%.o: %.c %.h @echo "${CC} $<" @$(CC) -c -o $@ $< $(CFLAGS) -#@$(CC) $(FLAGS) -MM $*.c > $*.d - debug: $(DTARGET) +#%.d: %.c %.h +# @echo "$(CC) -MM $@" +# @$(CC) $(CFLAGS) -MM $< -o $@ +# + %.do: %.c @echo "${CC} $<" @$(CC) -c -o $@ $< $(DCFLAGS) |