Files
geant4/examples/extended/geometry/cad/GNUmakefile
T
2016-06-08 16:39:52 +02:00

31 lines
825 B
Makefile

# $Id: GNUmakefile,v 1.2 2002/06/20 10:01:40 gcosmo Exp $
# --------------------------------------------------------------
# GNUmakefile for tests module. Gabriele Cosmo, 27/06/98.
# --------------------------------------------------------------
name := cadex
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../../..
endif
include $(G4INSTALL)/config/architecture.gmk
# 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 Linux-g++,$(G4SYSTEM)))
ansi_options = -Wall -ansi -pedantic
NCXX = $(filter-out $(ansi_options),$(CXXFLAGS))
NCPP = $(CPPFLAGS)
CXXFLAGS := $(NCXX)
CPPFLAGS := $(NCPP) -w
endif
.PHONY: all
all: lib bin
include $(G4INSTALL)/config/binmake.gmk