source: trunk/source/geometry/solids/CSG/test/GNUmakefile @ 1350

Last change on this file since 1350 was 1350, checked in by garnier, 13 years ago

update to last version 4.9.4

File size: 1.3 KB
Line 
1# $Id: GNUmakefile,v 1.12 2007/05/18 10:24:32 gcosmo Exp $
2# ----------------------------------------------------------------
3# Makes test program in environment variable G4TARGET.
4# ----------------------------------------------------------------
5
6ifndef G4TARGET
7  G4TARGET := $(TESTTARGET)
8endif
9
10ifndef G4INSTALL
11  G4INSTALL = ../../../../..
12endif
13
14G4EXEC_BUILD = true
15
16include $(G4INSTALL)/config/architecture.gmk
17
18# Override some variables for binmake.gmk.
19#
20INCFLAGS := -I$(G4BASE)/geometry/management/include \
21            -I$(G4BASE)/geometry/solids/CSG/include \
22            -I$(G4BASE)/geometry/solids/specific/include \
23            -I$(G4BASE)/global/management/include \
24            -I$(G4BASE)/global/HEPRandom/include \
25            -I$(G4BASE)/global/HEPNumerics/include \
26            -I$(G4BASE)/global/HEPGeometry/include \
27            -I$(G4BASE)/graphics_reps/include
28
29LDLIBS   := -lG4csg -lG4specsolids -lG4geometrymng \
30            -lG4graphics_reps \
31            -lG4intercoms \
32            -lG4hepnumerics -lG4globman
33
34include $(G4INSTALL)/config/binmake.gmk
35
36.PHONY: clean_all
37
38clean_all:
39        @for i in *.cc; do \
40        (target=`basename $$i .cc`; \
41        echo  "Removing $$target ... "; \
42        $(MAKE) clean G4SKIP_DEPEND=1 G4TARGET=$$target); done
43        @echo  "Wiping output file ... "
44        @$(RM) -rf test.out *.dat
Note: See TracBrowser for help on using the repository browser.