X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=as%2FMakefile;h=65ec66587c3355b326b523f63760844a0b329b31;hb=c1ebfa4c8b59fb7d44bef37fac242bd72f34acf9;hp=67419b989799a1e25af1a2bd8c894b207b50b213;hpb=2d68a8dff5ebde9772c9f8467064324d8d408e8d;p=fw%2Fsdcc diff --git a/as/Makefile b/as/Makefile index 67419b98..65ec6658 100644 --- a/as/Makefile +++ b/as/Makefile @@ -2,16 +2,19 @@ PRJDIR = .. include $(PRJDIR)/Makefile.common PORTS = z80 gbz80 +DOCS = README abstra.doc appendk.txt asmlnk.doc asxhtm.html format.txt all: $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/ -clean: - $(MAKE) -C z80 clean - -install: +install: all install-doc $(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'` - $(STRIP) -s `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) -s `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