summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-07-18 02:01:17 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-07-18 02:03:16 +0200
commit4caf68bdb6694ae8fba60df16244374d607667a0 (patch)
tree6eec24b05e5cd3b156016ffcdb29dea18237f68f /Makefile
parenta7e680b82067182f125732f68e3afca9181a8d4b (diff)
Replaced the confg.h by config.def.h file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 40cdebf..5358867 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,10 @@ $(TARGET): $(OBJ)
@echo "$(CC) $@"
@$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
+src/config.h: src/config.def.h
+ @echo create $@ from src/config.def.h
+ @cp src/config.def.h $@
+
%.o: %.c %.h src/config.h
@echo "${CC} $<"
@$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS)