Makefile changes

This commit is contained in:
Wayne Parham
2021-06-06 21:45:58 -05:00
parent 6c4c959141
commit 64afb50d5a

View File

@@ -149,26 +149,18 @@ GEOSDIRS = common \
runtime \ runtime \
system system
# MACHINE set independently of TARGET lets us easily define new targets
# without changing target.h and target.c in cc65/src/common. Useful
# for initial testing of ports to new systems.
ifeq ($(TARGET),apple2enh) ifeq ($(TARGET),apple2enh)
SRCDIR = apple2 SRCDIR = apple2
OBJPFX = a2 OBJPFX = a2
DRVPFX = a2e DRVPFX = a2e
MACHINE = $(TARGET)
else ifeq ($(TARGET),atarixl) else ifeq ($(TARGET),atarixl)
SRCDIR = atari SRCDIR = atari
OBJPFX = atr OBJPFX = atr
DRVPFX = atrx DRVPFX = atrx
MACHINE = $(TARGET)
else ifeq ($(TARGET),sim65c02) else ifeq ($(TARGET),sim65c02)
SRCDIR = sim6502 SRCDIR = sim6502
MACHINE = $(TARGET)
else else
SRCDIR = $(TARGET) SRCDIR = $(TARGET)
MACHINE = $(TARGET)
endif endif
SRCDIRS = $(SRCDIR) SRCDIRS = $(SRCDIR)
@@ -182,16 +174,7 @@ ifeq ($(TARGET),$(filter $(TARGET),$(GEOS)))
SRCDIRS += $(addprefix geos-common/,$(GEOSDIRS)) SRCDIRS += $(addprefix geos-common/,$(GEOSDIRS))
endif endif
ifeq ($(TARGET),sym1) SRCDIRS += common \
SRCDIRS += common \
conio \
dbg \
em \
runtime \
serial \
sym1
else
SRCDIRS += common \
conio \ conio \
dbg \ dbg \
em \ em \
@@ -201,7 +184,6 @@ else
serial \ serial \
tgi \ tgi \
zlib zlib
endif
vpath %.s $(SRCDIRS) vpath %.s $(SRCDIRS)
vpath %.c $(SRCDIRS) vpath %.c $(SRCDIRS)