MKINC = $(GEOS) \
atari \
+ atarixl \
nes
-TARGETUTIL = apple2 \
- atari \
+TARGETUTIL = apple2 \
+ apple2enh \
+ atari \
geos-apple
GEOSDIRS = common \
ZPOBJ += ../wrk/$(TARGET)/extzp.o
endif
-ifeq ($(SRCDIR),$(filter $(SRCDIR),$(MKINC)))
+ifeq ($(TARGET),$(filter $(TARGET),$(MKINC)))
include $(SRCDIR)/Makefile.inc
endif
-ifeq ($(SRCDIR),$(filter $(SRCDIR),$(TARGETUTIL)))
+ifeq ($(TARGET),$(filter $(TARGET),$(TARGETUTIL)))
include $(SRCDIR)/targetutil/Makefile.inc
endif
-ifeq ($(TARGET),atari)
-
DEPS += ../wrk/$(TARGET)/w2cas.d
../wrk/$(TARGET)/w2cas.o: $(SRCDIR)/targetutil/w2cas.c | ../wrk/$(TARGET)
$(LD65) -o $@ -t $(TARGET) $^
$(TARGET): ../targetutil/w2cas.com
-
-endif