projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfaf02
)
Don't overwrite users config.h if config.def.h is changed.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 27 Jul 2013 09:15:13 +0000
(11:15 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 27 Jul 2013 09:15:13 +0000
(11:15 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
5358867
..
2f2192f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-17,15
+17,17
@@
src/hints.js.h: src/hints.js
@echo "minify $<"
@cat $< | src/js2h.sh > $@
+$(OBJ): src/config.h config.mk
+
$(TARGET): $(OBJ)
@echo "$(CC) $@"
@$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
-src/config.h:
src/config.def.h
+src/config.h:
@echo create $@ from src/config.def.h
@cp src/config.def.h $@
-%.o: %.c %.h
src/config.h
+%.o: %.c %.h
@echo "${CC} $<"
@$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS)