57
|
1 #
|
|
2 # Makefile examples_forth SBC09/Sim6809
|
|
3 #
|
|
4 # created 1994 by L.C. Benschop
|
|
5 # 2013-10-28 - Jens Diemer: add "clean" section
|
|
6 # 2014-07-16 - J.E. Klasek
|
|
7 #
|
|
8 # copyleft (c) 1994-2014 by the sbc09 team, see AUTHORS for more details.
|
|
9 # license: GNU General Public License version 2, see LICENSE for more details.
|
|
10 #
|
|
11
|
|
12 ASM=../a09
|
|
13
|
|
14 PROGS=forthload.s
|
|
15
|
|
16
|
|
17
|
|
18 all: $(ASM) $(PROGS)
|
|
19
|
|
20 $(ASM):
|
|
21 $(MAKE) -c ../src a09 install
|
|
22
|
|
23
|
|
24 # ------------------------------------
|
|
25 # rules
|
|
26
|
|
27 .SUFFIXES: .asm .s
|
|
28
|
|
29 .asm.s:
|
|
30 $(ASM) -s $@ $<
|
|
31
|
|
32 #
|
|
33 # ------------------------------------
|
|
34
|
|
35 forthload.s: forthload.asm
|
|
36
|
|
37
|
|
38 # ------------------------------------
|
|
39
|
|
40 cleanall: clean
|
|
41
|
|
42 clean:
|
|
43 rm -f core *.BAK *.lst $(PROGS)
|
|
44
|