Browse code

Rebuild config.h if config.def.h is newer

John Hawthorn authored on 14/01/2019 04:54:03
Showing 1 changed files

  • Makefile index 2d23118..c1f6234 100644
... ...
@@ -34,7 +34,7 @@ fzy: $(OBJECTS)
34 34
 %.o: %.c config.h
35 35
 	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
36 36
 
37
-config.h:
37
+config.h: src/config.def.h
38 38
 	cp src/config.def.h config.h
39 39
 
40 40
 install: fzy