gbdk-releases/sdcc/as/Makefile

21 lines
617 B
Makefile
Raw Permalink Normal View History

2015-01-10 16:25:07 +01:00
PRJDIR = ..
include $(PRJDIR)/Makefile.common
2015-01-10 16:25:07 +01:00
PORTS = z80 gbz80
2015-01-10 16:25:09 +01:00
DOCS = README abstra.doc appendk.txt asmlnk.doc asxhtm.html format.txt
2015-01-10 16:25:07 +01:00
2015-01-10 16:25:07 +01:00
all:
2015-01-10 16:25:09 +01:00
$(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/
2015-01-10 16:25:07 +01:00
2015-01-10 16:25:09 +01:00
install: all install-doc
$(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'`
$(STRIP) `echo $(bindir)/as-z80|sed '$(transform)'`
$(INSTALL) $(PRJDIR)/bin/as-gbz80 `echo $(bindir)/as-gbz80|sed '$(transform)'`
$(STRIP) `echo $(bindir)/as-gbz80|sed '$(transform)'`
install-doc:
$(INSTALL) -d $(docdir)/aslink
cp -f `find doc -maxdepth 1 -not -type d` $(docdir)/aslink
include clean.mk