blob: d3d96e4877bb9a7179209b5b9dee1c494ac6d589 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
|
pasfiles = globals.pas mtx.pas preamble.pas lyrics.pas analyze.pas mtxline.pas\
status.pas uptext.pas prepmx.pas files.pas notes.pas multfile.pas \
strings.pas utility.pas control.pas
sfiles = mtx.tex mtxdoc.tex mtxdoc.pdf Makefile Corrections Bugs MAINTENANCE
cfiles = globals.c mtx.c preamble.c lyrics.c analyze.c mtxline.c\
status.c uptext.c prepmx.c files.c notes.c multfile.c utility.c control.c
native = cfuncs.c cfuncs.h
hfiles = globals.h mtx.h preamble.h lyrics.h analyze.h mtxline.h \
status.h uptext.h files.h notes.h multfile.h utility.h control.h
ofiles = globals.o mtx.o preamble.o lyrics.o analyze.o mtxline.o \
status.o uptext.o cfuncs.o files.o notes.o prepmx.o multfile.o utility.o \
control.o
SYSTEM=LINUX
prepmx: $(pasfiles)
fpc -g -B -vn -So prepmx -T$(SYSTEM)
prepmxc: $(cfiles) $(ofiles)
gcc $(ofiles) -o prepmx
multfile.c: multfile.pas
p2c -a -LTurbo multfile.pas -o temp.c
sed -e "s/Malloc/malloc/" < temp.c > multfile.c
rm temp.c
%.c: %.pas
p2c -a -LTurbo $*.pas
commit: $(pasfiles) $(sfiles)
git add $(pasfiles) $(sfiles)
echo Now type: git commit -m \"DESCRIPTION OF_CHANGES\"
clean:
- rm *.o *~ *~ core *.pmx *.pml *.log *.dvi
bare: clean
- rm prepmx *.ppu
Pzip:
zip -ju mtxP`./version` version $(pasfiles) $(sfiles) README.*
|