Added exe transform support. Made the strip explicit. Change to help cross compiling
[fw/sdcc] / as / Makefile
1 PRJDIR = ..
2 include $(PRJDIR)/Makefile.common
3
4 PORTS = z80 gbz80
5
6 all:
7         $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/
8
9 clean:
10         $(MAKE) -C z80 clean
11
12 install:
13         $(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'`
14         $(STRIP) -s `echo $(bindir)/as-z80|sed '$(transform)'`
15         $(INSTALL) $(PRJDIR)/bin/as-gbz80 `echo $(bindir)/as-gbz80|sed '$(transform)'`
16         $(STRIP) -s `echo $(bindir)/as-gbz80|sed '$(transform)'`
17