summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/mtx-src/Makefile.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/m-tx/mtx-src/Makefile.orig')
-rw-r--r--Build/source/utils/m-tx/mtx-src/Makefile.orig31
1 files changed, 6 insertions, 25 deletions
diff --git a/Build/source/utils/m-tx/mtx-src/Makefile.orig b/Build/source/utils/m-tx/mtx-src/Makefile.orig
index d3d96e4877b..14118ffe3db 100644
--- a/Build/source/utils/m-tx/mtx-src/Makefile.orig
+++ b/Build/source/utils/m-tx/mtx-src/Makefile.orig
@@ -1,37 +1,18 @@
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
-
+sfiles = mtx.tex mtxdoc.pdf Makefile Corrections Bugs MAINTENANCE
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
-
+README.md: README.txt
+ pandoc -s -t markdown_githum README.txt
-commit: $(pasfiles) $(sfiles)
+commit: $(pasfiles) $(sfiles) README.txt README.md
+ make -C doc commit
git add $(pasfiles) $(sfiles)
echo Now type: git commit -m \"DESCRIPTION OF_CHANGES\"
@@ -39,7 +20,7 @@ clean:
- rm *.o *~ *~ core *.pmx *.pml *.log *.dvi
bare: clean
- - rm prepmx *.ppu
+ - rm prepmx *.ppu
Pzip:
zip -ju mtxP`./version` version $(pasfiles) $(sfiles) README.*