#!smake # The previous magic comment will cause the parallel make utility # 'smake' to be used. # ---------------------------------------------------------------------- # Makefile for exercise 08 # # To make the exercise, type: # make # or double-click on "Makefile" # ---------------------------------------------------------------------- # # Programs to be created: PROGRAMS = example # /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 = $(PROGRAMS) LLDLIBS = -lGLU -lm -lInventorXt C++FILES = $(PROGRAMS:=.c++) default: $(PROGRAMS) include $(COMMONRULES) $(PROGRAMS): $$@.c++ $(C++F) -o $@ $@.c++ $(LDFLAGS)