X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=Makefile;h=98a578a0432024ebc9be87952671d370f121c9da;hp=703cf35032c258e14f463a62891eeeda60ff46ef;hb=ee2d42257a2d52072f6b163f8ec279503241e9de;hpb=e10b1284d3c6dcbd9790c1a9cd7560907b9692ff diff --git a/Makefile b/Makefile index 703cf35..98a578a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ CFLAGS += -Wall -ggdb ifdef CONFIG_FILE -CFLAGS += -DCONFIG_FILE=$(CONFIG_FILE) +CFLAGS += -DCONFIG_FILE="\"$(CONFIG_FILE)\"" +endif +ifdef HAVE_ARMv6 +CFLAGS += -DHAVE_ARMv6=$(HAVE_ARMv6) endif CXXFLAGS += $(CFLAGS) @@ -16,3 +19,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