# $Id: GNUmakefile,v 1.3 2002/07/04 16:15:28 gcosmo Exp $ # ------------------------------------------------------------- # GNUmakefile for STEP library. Gabriele Cosmo, 15/11/96. # ------------------------------------------------------------- name := G4stepinterface ifndef G4INSTALL G4INSTALL = ../../../.. endif include $(G4INSTALL)/config/architecture.gmk CPPFLAGS += \ -I$(G4BASE)/geometry/solids/STEP/include \ -I$(G4BASE)/geometry/solids/BREPS/include \ -I$(G4BASE)/geometry/management/include \ -I$(G4BASE)/geometry/volumes/include \ -I$(G4BASE)/global/management/include \ -I$(G4BASE)/global/HEPRandom/include \ -I$(G4BASE)/global/HEPGeometry/include \ -I$(G4BASE)/graphics_reps/include # To avoid incompatibilities with ANSI standard treatment of strings, the # NIST STEP reader on gcc-2.95.X and later must be compiled in non-ANSI mode. # ifneq (,$(findstring g++,$(G4SYSTEM))) ansi_options = -Wall -ansi -pedantic NCXX = $(filter-out $(ansi_options),$(CXXFLAGS)) NCPP = $(CPPFLAGS) CXXFLAGS := $(NCXX) CPPFLAGS := $(NCPP) -w endif include $(G4INSTALL)/config/common.gmk