X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=8b7a5fda0e8e72c22965cb322b7df5a06e0d5e3f;hb=c6237d9e43c8a8854155757b80b77161a9570535;hp=4849d9841ac983dd8bdfa94c769a99f95d2496ae;hpb=52ac6b1c8f65fe2477ffc3a7fc63ca8ae9d7e59f;p=cyclone68000.git diff --git a/Makefile b/Makefile index 4849d98..8b7a5fd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ CFLAGS += -Wall -ggdb +ifdef CONFIG_FILE +CFLAGS += -DCONFIG_FILE="\"$(CONFIG_FILE)\"" +endif CXXFLAGS += $(CFLAGS) OBJS = Main.o Ea.o OpAny.o OpArith.o OpBranch.o OpLogic.o OpMove.o Disa/Disa.o @@ -13,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