Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / as / Makefile.in
1 # This Makefile is only for z80 and gbz80
2
3 VPATH        = @srcdir@
4 srcdir       = @srcdir@
5 top_builddir = @top_builddir@
6
7 BUILDDIR=../$(top_builddir)/bin
8 include $(top_builddir)/Makefile.common
9
10 PORTS = z80 gbz80
11 DOCS = README abstra.txt appendk.txt asmlnk.txt asxhtm.html format.txt
12
13 all:
14         $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=$(BUILDDIR)
15
16 install: all install-doc
17         $(INSTALL) $(top_builddir)/bin/as-z80$(EXEEXT) `echo $(DESTDIR)$(bindir)/as-z80$(EXEEXT)|sed '$(transform)'`
18         $(STRIP) `echo $(DESTDIR)$(bindir)/as-z80$(EXEEXT)|sed '$(transform)'`
19         $(INSTALL) $(top_builddir)/bin/as-gbz80$(EXEEXT) `echo $(DESTDIR)$(bindir)/as-gbz80$(EXEEXT)|sed '$(transform)'`
20         $(STRIP) `echo $(DESTDIR)$(bindir)/as-gbz80$(EXEEXT)|sed '$(transform)'`
21
22 install-doc:
23         $(INSTALL) -d $(DESTDIR)$(docdir)/aslink
24         cd $(srcdir)/doc; cp -f $(DOCS) $(DESTDIR)$(docdir)/aslink
25
26 uninstall:
27         cd $(DESTDIR)$(bindir); rm -f as-z80$(EXEEXT) as-gbz80$(EXEEXT)
28
29 include $(srcdir)/clean.mk