TARGET = pximon_main EXEC = pximon DICT = exDict CC = gcc LDFLAGSA = $(shell root-config --libs) $(shell root-config --glibs) CFLAGSA = $(shell root-config --cflags) ROOTCFLAGS = $(shell root-config --cflags) ROOTLIBS = $(shell root-config --libs) ROOTGLIBS = $(shell root-config --glibs) CXX = g++ CFLAGS = -Wall -g -O2 -I$(ROOTSYS)/include -I. -I../ -I../lib/ -I/usr/include -L../ -L../lib/ test: test.cc Makefile g++ $(CFLAGS) $(ROOTGLIBS) -o test test.cc all: dict build dict: Makefile $(TARGET).h $(TARGET).cc rootcint -f $(DICT).cc -c $(TARGET).h exLinkDef.h build: Makefile g++ $(CFLAGSA) $(LDFLAGSA) -o $(EXEC) $(TARGET).cc $(DICT).cc