36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
# $Id: GNUmakefile,v 1.4 2003/03/28 15:49:56 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 = -ansi -pedantic
|
|
NCXX = $(filter-out $(ansi_options),$(CXXFLAGS))
|
|
NCPP = $(CPPFLAGS)
|
|
CXXFLAGS := $(NCXX)
|
|
CPPFLAGS := $(NCPP) -w
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/common.gmk
|