TARGET = root2gamp CC = g++ LDFLAGS = $(shell root-config --glibs) $(shell root-config --evelibs) $(shell root-config --cflags) all: build build: $(CC) $(LDFLAGS) -o $(TARGET) $(TARGET).cxx