#!smake PROGRAM = exercise12 C++FILES = exercise12.c++ \ MyBitmapButton.c++ \ rietveld.c++ \ student.c++ HFILES = MyBitmapButton.h \ rietveld.h \ BitMaps.h \ student.c++ # /usr/include/make/commondefs and /usr/include/make/commonrules # define some useful Makefile rules. For example, they # defines a 'clean' target, so you can type 'make clean' # to remove all .o files (or other files generated during # compilation). See the file /usr/include/make/commonrules for # documentation on what targets are supported. include /usr/include/make/commondefs TARGETS = $(PROGRAM) # Libraries to link with: LLDLIBS = -lGLw -lGLU -lGL -lX11 -lm -lInventorXt default: $(TARGETS) include $(COMMONRULES) $(TARGETS): $(OBJECTS) $(C++F) -o $@ $(OBJECTS) $(LDFLAGS)