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