-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
37 lines (29 loc) · 789 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PROJECT = forth
$(PROJECT).rom: $(PROJECT).asm
echo Building for Elf/OS
../dateextended.pl > date.inc
../build.pl > build.inc
asm02 -l -L -DELFOS $(PROJECT).asm
mv $(PROJECT).prg x.prg
cat x.prg | sed -f adjust.sed > $(PROJECT).prg
rm x.prg
elfos: $(PROJECT).asm
echo Building for Elf/OS
../dateextended.pl > date.inc
../build.pl > build.inc
asm02 -l -L -DELFOS $(PROJECT).asm
mv $(PROJECT).prg x.prg
cat x.prg | sed -f adjust.sed > $(PROJECT).prg
rm x.prg
picoelf: $(PROJECT).asm
asm02 -l -L -DPICOROM $(PROJECT).asm
mchip: $(PROJECT).asm
asm02 -l -L -DMCHIP $(PROJECT).asm
stg: $(PROJECT).asm
../date.pl > date.inc
asm02 -l -L -DSTGROM $(PROJECT).asm
mv $(PROJECT).prg x.prg
cat x.prg | sed -f adjust.sed > $(PROJECT).prg
rm x.prg
clean:
-rm $(PROJECT).prg