ack/plat/cpm/build.mk
David Given 07453d184a Top, topgen, aelflod. Moved the libraries back into the platform-specific
directories --- wrangling descr files was too hard. C programs can be built
for cpm, pc86, linux386, linux68k!

--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk
2013-05-13 23:26:15 +01:00

43 lines
518 B
Makefile

ARCH := i80
PLATFORM := cpm
OPTIMISATION := -O
D := plat/cpm
platform-headers := \
ack/config.h \
cpm.h \
unistd.h
platform-libsys := \
_bdos.s \
_hol0.s \
_inn2.s \
_trap.s \
brk.c \
close.c \
creat.c \
errno.s \
getpid.c \
isatty.c \
kill.c \
lseek.c \
open.c \
read.c \
signal.c \
time.c \
write.c
$(eval $(call build-platform))
define build-cpm-boot-impl
$(call reset)
$(call ackfile, $D/boot.s)
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
endef
$(eval $(build-cpm-boot-impl))