LCPhys
diff -u -r1.1 -r1.2
--- GNUmakefile 4 May 2005 21:20:46 -0000 1.1
+++ GNUmakefile 18 Dec 2006 20:01:05 -0000 1.2
@@ -1,13 +1,25 @@
+# $Id: GNUmakefile,v 1.2 2006/12/18 20:01:05 jeremy Exp $
+
#
-# Simple Makefile for standalone physics list.
+# Physics list for LCPhys.
#
-# Installs to list build area.
+# --Jeremy McCormick <[log in to unmask]>
#
name := LCPhys
-ifdef G4INSTALL
- include $(G4INSTALL)/physics_lists/hadronic/common.gmk
-else
- $(error Define G4INSTALL in the environment. Source your Geant4 setup script.)
+ifndef G4INSTALL
+$(error G4INSTALL is not defined!)
+endif
+
+ifndef G4SYSTEM
+$(error G4SYSTEM is not defined!)
endif
+
+CPPFLAGS += -I$(G4INSTALL)/include
+
+include $(G4INSTALL)/config/architecture.gmk
+include $(G4INSTALL)/config/common.gmk
+
+install:
+ cp $(G4WORKDIR)/tmp/$(G4SYSTEM)/*$(name).* $(G4INSTALL)/lib/$(G4SYSTEM)