X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=8b7a5fda0e8e72c22965cb322b7df5a06e0d5e3f;hb=ba3db9e7f6f8d2be5a5170dbac3f12c789306970;hp=703cf35032c258e14f463a62891eeeda60ff46ef;hpb=e10b1284d3c6dcbd9790c1a9cd7560907b9692ff;p=cyclone68000.git diff --git a/Makefile b/Makefile index 703cf35..8b7a5fd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS += -Wall -ggdb ifdef CONFIG_FILE -CFLAGS += -DCONFIG_FILE=$(CONFIG_FILE) +CFLAGS += -DCONFIG_FILE="\"$(CONFIG_FILE)\"" endif CXXFLAGS += $(CFLAGS) @@ -16,3 +16,8 @@ cyclone_gen: $(OBJS) clean: $(RM) $(OBJS) cyclone_gen Cyclone.s + +$(OBJS): app.h config.h Cyclone.h +ifdef CONFIG_FILE +$(OBJS): $(CONFIG_FILE) +endif