mirror of
https://github.com/cc65/cc65.git
synced 2026-04-21 09:17:52 +00:00
prepared lib makefile. skip building the library while compiler support is not there
This commit is contained in:
+10
-1
@@ -21,6 +21,7 @@ CBMS = c128 \
|
||||
GEOS = geos-apple \
|
||||
geos-cbm
|
||||
|
||||
# FIXME: c65 (and perhaps mega65?) should be moved up to CBMS maybe
|
||||
TARGETS = agat \
|
||||
apple2 \
|
||||
apple2enh \
|
||||
@@ -30,6 +31,7 @@ TARGETS = agat \
|
||||
atari5200 \
|
||||
atari7800 \
|
||||
atmos \
|
||||
c65 \
|
||||
creativision \
|
||||
$(CBMS) \
|
||||
$(GEOS) \
|
||||
@@ -45,7 +47,8 @@ TARGETS = agat \
|
||||
sim65c02 \
|
||||
supervision \
|
||||
sym1 \
|
||||
telestrat
|
||||
telestrat \
|
||||
mega65
|
||||
|
||||
TARGETTEST = none \
|
||||
sim6502 \
|
||||
@@ -193,6 +196,11 @@ ifeq ($(TARGET),$(filter $(TARGET),$(GEOS)))
|
||||
SRCDIRS += $(addprefix geos-common/,$(GEOSDIRS))
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),c65)
|
||||
# FIXME: the compiler does not work for 4510 yet
|
||||
else ifeq ($(TARGET),mega65)
|
||||
# FIXME: the compiler does not work for 45GS02 yet
|
||||
else
|
||||
SRCDIRS += common \
|
||||
conio \
|
||||
dbg \
|
||||
@@ -203,6 +211,7 @@ SRCDIRS += common \
|
||||
serial \
|
||||
tgi \
|
||||
zlib
|
||||
endif
|
||||
|
||||
vpath %.s $(SRCDIRS)
|
||||
vpath %.c $(SRCDIRS)
|
||||
|
||||
Reference in New Issue
Block a user