Makefile 439 B

123456789101112131415161718192021222324
  1. GM2 = gm2
  2. FLAGS = -fiso -I.
  3. all: demo tvg.o tvfont.o
  4. tv.o: tv.mod tv.def tvtty.def
  5. $(GM2) $(FLAGS) -c tv.mod
  6. demo: tv.o demo.mod
  7. $(GM2) $(FLAGS) tv.o demo.mod -o demo
  8. tvfont.o: tvfont.mod tvfont.def
  9. $(GM2) $(FLAGS) -c tvfont.mod
  10. tvg.o: tvg.mod tvg.def tvfont.o tv.o
  11. $(GM2) -fiso -I. -I../modula2 -c tvg.mod
  12. ttysize: ttysize.mod tvtty.def
  13. $(GM2) $(FLAGS) ttysize.mod -o ttysize
  14. clean:
  15. rm -f *.o demo ttysize
  16. .PHONY: all clean