1
0
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:
mrdudz
2025-06-22 21:43:21 +02:00
parent f6a3f66f0b
commit 44672e6281
+10 -1
View File
@@ -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)