| Rev | Line | |
|---|
| [1350] | 1 | # $Id: GNUmakefile,v 1.10 2003/10/01 14:52:20 gcosmo Exp $
|
|---|
| 2 | # ------------------------------------------------------
|
|---|
| 3 | # Makes test program in environment variable G4TARGET.
|
|---|
| 4 | # ------------------------------------------------------
|
|---|
| 5 |
|
|---|
| 6 | ifndef G4TARGET
|
|---|
| 7 | G4TARGET := $(TESTTARGET)
|
|---|
| 8 | endif
|
|---|
| 9 |
|
|---|
| 10 | ifndef G4INSTALL
|
|---|
| 11 | G4INSTALL = ../../../../..
|
|---|
| 12 | endif
|
|---|
| 13 |
|
|---|
| 14 | G4EXEC_BUILD = true
|
|---|
| 15 |
|
|---|
| 16 | include $(G4INSTALL)/config/architecture.gmk
|
|---|
| 17 |
|
|---|
| 18 | # Override some variables from GNUmakefile.architecture.
|
|---|
| 19 | INCFLAGS := \
|
|---|
| 20 | -I$(G4BASE)/graphics_reps/include \
|
|---|
| 21 | -I$(G4BASE)/geometry/management/include \
|
|---|
| 22 | -I$(G4BASE)/geometry/solids/CSG/include \
|
|---|
| 23 | -I$(G4BASE)/geometry/solids/Boolean/include \
|
|---|
| 24 | -I$(G4BASE)/geometry/solids/BREPS/include \
|
|---|
| 25 | -I$(G4BASE)/global/management/include \
|
|---|
| 26 | -I$(G4BASE)/global/HEPRandom/include \
|
|---|
| 27 | -I$(G4BASE)/global/HEPGeometry/include
|
|---|
| 28 |
|
|---|
| 29 | LDLIBS := \
|
|---|
| 30 | -lG4brep \
|
|---|
| 31 | -lG4geomBoolean \
|
|---|
| 32 | -lG4csg \
|
|---|
| 33 | -lG4geometrymng \
|
|---|
| 34 | -lG4graphics_reps \
|
|---|
| 35 | -lG4globman
|
|---|
| 36 |
|
|---|
| 37 | include $(G4INSTALL)/config/binmake.gmk
|
|---|
| 38 |
|
|---|
| 39 | .PHONY: clean_all
|
|---|
| 40 |
|
|---|
| 41 | clean_all:
|
|---|
| 42 | @for i in CurveTest.cc G4*.cc; do \
|
|---|
| 43 | (target=`basename $$i .cc`; \
|
|---|
| 44 | echo "Removing $$target ... "; \
|
|---|
| 45 | $(MAKE) clean G4SKIP_DEPEND=1 G4TARGET=$$target); done
|
|---|
| 46 | @echo "Removing STEPTest ... "
|
|---|
| 47 | @$(MAKE) clean G4SKIP_DEPEND=1 G4TARGET=STEPTest
|
|---|
| 48 | @echo "Wiping output files ... "
|
|---|
| 49 | @$(RM) -rf *.newout*
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.