summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)