*** ./Makefile Sun May 3 18:48:12 1998 --- ../mag2-1.0/./Makefile Mon May 25 02:31:32 1998 *************** *** 1,37 **** - #!/usr/sbin/pmake -v ! include $(ROOT)/usr/include/make/commondefs - # alternate include directory - LCINCS = - # debugging option - LCOPTS = -g - LCOPTS = - #OPTIMIZER= -O2 - - LDFLAGS = -lGLw -lGL -lGLU -lXm -lXt -lX11 -lXext -g - # override the prototypes macro in commondefs: if you want # prototyping turned on, comment out the next line. PROTOTYPES= ! CFILES = \ ! cursor.c \ ! draw.c \ ! filter.c \ ! main.c \ ! menu.c \ ! mesh.c \ ! help.c \ ! canvas.c \ ! ui.c \ TARGETS = mag2 default: $(TARGETS) - include $(COMMONRULES) mag2: $(OBJECTS) ! $(CCF) $(OBJECTS) $(LDFLAGS) -o $@ ! echo  $(OBJECTS): globals.h --- 1,24 ---- ! LIBS = -lGLw -lGL -lGLU -lXm -lXt -lX11 -lXext # override the prototypes macro in commondefs: if you want # prototyping turned on, comment out the next line. PROTOTYPES= ! OBJECTS = \ ! cursor.o draw.o filter.o main.o menu.o mesh.o help.o canvas.o ui.o TARGETS = mag2 + default: $(TARGETS) mag2: $(OBJECTS) ! $(CC) $(CCFLAGS) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $@ $(OBJECTS): globals.h + + clean: + -rm -f $(OBJECTS) + + clobber: clean + -rm -f $(TARGETS)