# Copyright (C) 1996 Keith Whitwell. # This file may only be copied under the terms of the GNU Library General # Public License - see the file COPYING in the lib3d distribution. # MSDOS makefile for djgpp v2 and GNU make # Contributed by Markus F.X.J. Oberhumer include ../Makedefs.dj2 CXXFLAGS += -MD PROGRAMS = \ testnff$(E) \ testcam$(E) \ testcube$(E) \ testdev$(E) \ testfile$(E) \ testmat$(E) \ testmod$(E) \ testmouse$(E) \ testobj$(E) \ testplg$(E) \ testtexture$(E) \ testvis$(E) \ testworld$(E) EXTRA_PROGRAMS = testprim$(E) default all: $(PROGRAMS) $(EXTRA_PROGRAMS) $(PROGRAMS) : %$(E) : %$(O) $(LIB3D) $(CXX) $(LDFLAGS) $(ARCHFLAGS) -o $@ $^ $(LIBS) testprim$(E) : %$(E) : %$(O) $(LIBPRIMITIVE) $(LIB3D) $(CXX) $(LDFLAGS) $(ARCHFLAGS) -o $@ $^ $(LIBS) # Dependencies are generated automatically by gcc using '-MD' depend: DEPS := $(wildcard *.d) ifneq ($(DEPS),) include $(DEPS) endif clean: -$(RM) $(CLEAN_FILES) test*.exe distclean: clean -$(RM) $(DISTCLEAN_FILES)