# -------------------------------------------------------------- # GNUmakefile for creating exampleR01 # Note that as of 2-Sep-1999, it only works with libraries # compiled with the GNU compiler. # -------------------------------------------------------------- name := exampleR01 G4TARGET := $(name) G4EXLIB := true ifndef G4INSTALL G4INSTALL = ../../.. endif .PHONY: all all: lib bin include $(G4INSTALL)/config/architecture.gmk # Override some variables for binmake.gmk. # For Histograms, we need CERNLIB, and since # CERNLIB was compiled with g77, we need g2c. LDFLAGS += -L$(LIB) LOADLIBS += -lpacklib -lkernlib -lmathlib -lg2c include $(G4INSTALL)/config/binmake.gmk