ack/mach/proto/top/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

16 lines
416 B
Makefile

define build-top-impl
$(call reset)
$(eval cflags += -I$(OBJDIR)/$(PLATFORM)/top)
$(call cfile, mach/proto/top/queue.c)
$(call cfile, mach/proto/top/top.c)
$(eval $q: $(OBJDIR)/$(PLATFORM)/top/gen.h)
$(call topgen, $(OBJDIR)/$(PLATFORM)/top, mach/$(ARCH)/top/table)
$(call cprogram, $(OBJDIR)/$(PLATFORM)/top/top)
$(call installto, $(PLATDEP)/$(PLATFORM)/top)
endef
build-top = $(eval $(build-top-impl))