Added exe transform support. Made the strip explicit. Change to help cross compiling
[fw/sdcc] / as / Makefile
index a43a433bd28b156e9abb2c859776750aba650465..67419b989799a1e25af1a2bd8c894b207b50b213 100644 (file)
@@ -9,5 +9,9 @@ all:
 clean:
        $(MAKE) -C z80 clean
 
-# dummy install target to prevent warnings
 install:
+       $(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)'`
+       $(STRIP) -s `echo $(bindir)/as-gbz80|sed '$(transform)'`
+