COMMON = \ common/GL_utilities.c \ common/LoadTGA.c \ common/Linux/MicroGlut.c CPPFLAGS += \ -Icommon \ -Icommon/Linux \ -DGL_GLEXT_PROTOTYPES CXXFLAGS += \ -Wall LDLIBS += \ -lXt \ -lX11 \ -lGL \ -lm \ -lstdc++ tsbk07: tsbk07.cpp $(COMMON) gcc $(CXXFLAGS) -o tsbk07 $(CPPFLAGS) tsbk07.cpp $(COMMON) $(LDLIBS) clean: rm tsbk07