GM2 = gm2 FLAGS = -fiso -I .. TV = ../tv.o PROGS = empty window dialog menus edit all: $(PROGS) gfx %: %.mod $(TV) $(GM2) $(FLAGS) $(TV) $< -o $@ gfx: gfx.mod ../tvg.o ../tvfont.o $(TV) ../../modula2/tigr.o ../../modula2/helper.o $(GM2) -fiso -I .. -I ../../modula2 ../tvg.o ../tvfont.o $(TV) \ ../../modula2/tigr.o ../../modula2/helper.o gfx.mod -o gfx -lGL -lX11 clean: rm -f $(PROGS) gfx .PHONY: all clean