# 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 SOURCES = \ cube.cc \ cylicone.cc \ sphere.cc OBJECTS = $(SOURCES:.cc=$(O)) default all lib: $(LIBPRIMITIVE) $(LIBPRIMITIVE): $(OBJECTS) -$(RM) $@ $(AR) rcs $@ $^ # Dependencies are generated automatically by gcc using '-MD' depend: DEPS := $(wildcard *.d) ifneq ($(DEPS),) include $(DEPS) endif cleanlib: -$(RM) $(LIBPRIMITIVE) clean: cleanlib -$(RM) $(CLEAN_FILES) distclean: clean -$(RM) $(DISTCLEAN_FILES)