Added build to the install target
[fw/sdcc] / as / Makefile
index ff3e994bd92a79e2a7dae6e794714a9996a7d40f..f50fd1348ffa981b3f69e1b7e9d478db6f3be57e 100644 (file)
@@ -7,7 +7,7 @@ DOCS = README abstra.doc appendk.txt asmlnk.doc asxhtm.html format.txt
 all:
        $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/
 
-install: install-doc
+install: all install-doc
        $(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'`
        $(STRIP) -s `echo $(bindir)/as-z80|sed '$(transform)'`
        $(INSTALL) $(PRJDIR)/bin/as-gbz80 `echo $(bindir)/as-gbz80|sed '$(transform)'`