# CURL WHICH_CURL_CONFIG = $(shell which curl-config) ifneq ($(strip $(WHICH_CURL_CONFIG)),) CURL_CFLAGS = $(shell curl-config --cflags) -DHAS_CURL CURL_LIBS = $(shell curl-config --libs) CFLAGS += $(CURL_CFLAGS) CXXFLAGS += $(CURL_CFLAGS) LDFLAGS += $(CURL_LIBS) endif # ROOT CXXFLAGS += $(shell root-config --cflags) LDFLAGS += $(shell root-config --glibs) CXXFLAGS += -g # Main target ScopeDAQ: $(wildcard *.cc *.h) clean: rm -rf ScopeDAQ *.o ~*