ack/plat/linux386/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

29 lines
408 B
Makefile

ARCH := i386
PLATFORM := linux386
OPTIMISATION := -O
D := plat/linux386/
platform-headers := \
ack/config.h \
sys/ioctl.h \
unistd.h
platform-libsys := \
_syscall.s
$(eval $(call build-platform))
$(eval $(call build-liblinux))
define build-linux386-boot-impl
$(call reset)
$(call ackfile, $D/boot.s)
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
endef
$(eval $(build-linux386-boot-impl))