JPP_DIR := $(shell cd ../..; pwd) include $(JPP_DIR)/Makerules #CXXFLAGS += -pg #LDFLAGS += -pg CXXFLAGS += -I$(ANTRS_INCLUDE) LDFLAGS += -L$(ANTRS_LIB) SRCS := $(wildcard *.cc) OBJS := $(SRCS:.cc=.o) BINS := $(OBJS:.o=) APPS := $(addprefix $(JPP_BIN), $(BINS) JSirene.sh) JSirene: LOADLIBES+=$(ROOTLIBS) $(ANTCC_LIBS) JModK40: LOADLIBES+=$(ROOTLIBS) $(ANTCC_LIBS) JSirene.o: CXXFLAGS+=-DROOTSUPPORT JModK40.o: CXXFLAGS+=-DROOTSUPPORT include $(JPP_DIR)/Makedependencies