You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
PROGNAME = analyse #convert ## analyse
SOURCEFILES = analyse.c OBJS = $(patsubst %.c, %.o, $(SOURCEFILES))
ROOTCFLAGS := $(shell root-config --cflags) ROOTLIBS := $(shell root-config --libs) ROOTGLIBS := $(shell root-config --glibs)
LDFLAGS = -O LIBS += $(ROOTLIBS) CFLAGS += $(ROOTCFLAGS)
# Not sure why Minuit isn't being included -- put in by hand
#
LIBS += -lMinuit
$(PROGNAME): $(OBJS) g++ -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
%.o: %.c g++ ${CFLAGS} -c -g $<
test: @echo $(ROOTCFLAGS)
clean: -rm -f ${PROGNAME} ${OBJS}
|