#### # # This Makefile defines rules for building list and string classes in the # support project. It will be exapanded as new support classes are added. # # # Define the location of the generic project Makefile.vars and include it file. # MAKEFILEVARSDIR = ../../implementation include $(MAKEFILEVARSDIR)/Makefile.vars # # Define object file and source file paths. # BASIC_OBJS = intlist.o list.o str.o strlist.o MVP_OBJS = model.o view.o OBJS = $(BASIC_OBJS) $(MVP_OBJS) SRCS = $(IMPLEDIR)/*.C DEPENDSRCS = $(SRCS) # # The main target is the support lib archive. # libsupport.a: $(OBJS) ar cq libsupport.a $(OBJS) %.o: $(IMPLEDIR)/%.C $(CC) $(CFLAGS) -c $< tests: listtests listtests: listoutput listdiffs listoutput: @csh -q -c "source .makelistoutput" listdiffs: @csh -q -c "source .makelistdiffs" listgood: @csh -q -c "source .makelistgood" # # Define the location of the generic project Makefile.rules and include it. # MAKEFILERULESDIR = ../../implementation include $(MAKEFILERULESDIR)/Makefile.rules # DO NOT DELETE THIS LINE -- make depend depends on it. intlist.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h intlist.o: ../../design/intlist.h ../../design/list.h intlist.o: ../../design/std-macros.h /usr/include/setjmp.h list.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h list.o: ../../design/list.h ../../design/std-macros.h /usr/include/setjmp.h str.o: ../../design/std-macros.h /usr/include/setjmp.h str.o: /usr/include/sys/feature_tests.h /usr/include/string.h str.o: ../../design/str.h strlist.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h strlist.o: /usr/include/string.h ../../design/strlist.h ../../design/list.h strlist.o: ../../design/std-macros.h /usr/include/setjmp.h ../../design/str.h