| 12345678910111213141516171819202122232425262728293031323334 |
- GM2 = /home/eric/bin/Modula2/Gm2/bin/gm2
- CC = cc
- FLAGS = -fiso
- all: tpshell
- tpshell: Editor.mod Shell.mod Shell.o Term.o Posix.o TextBuf.o Editor.o Compiler.o Runtime.o
- $(GM2) $(FLAGS) -fgen-module-list=tpshell.lst -o /dev/null Shell.mod Term.o Posix.o TextBuf.o Editor.o Compiler.o Runtime.o || true
- $(GM2) $(FLAGS) -fuse-list=tpshell.lst -o $@ Shell.mod Term.o Posix.o TextBuf.o Editor.o Compiler.o Runtime.o
- Shell.o: Shell.mod Term.def Posix.def Editor.def TextBuf.def
- $(GM2) $(FLAGS) -c Shell.mod
- Term.o: Term.mod Term.def Posix.def
- $(GM2) $(FLAGS) -c Term.mod
- TextBuf.o: TextBuf.mod TextBuf.def
- $(GM2) $(FLAGS) -c TextBuf.mod
- Editor.o: Editor.mod Editor.def Term.def TextBuf.def Posix.def
- $(GM2) $(FLAGS) -c Editor.mod
- Posix.o: Posix.c
- $(CC) -c Posix.c
- Compiler.o: Compiler.mod Compiler.def TextBuf.def Runtime.def
- $(GM2) $(FLAGS) -c Compiler.mod
- Runtime.o: Runtime.mod Runtime.def
- $(GM2) $(FLAGS) -c Runtime.mod
- clean:
- rm -f *.o tpshell tpshell.lst
- .PHONY: all clean
|