#Variables
include $(SCT_DAQ_ROOT)/build/Makefile.include
#Commands
include $(SCT_DAQ_ROOT)/build/Makefile.commands

HDRS := $(wildcard *.h)
SRCS := $(wildcard *.cpp)
OBJS := $(SRCS:.cpp=.o)

.PHONY: all c++ java install clean distclean 

all: c++

c++: $(OBJS)

java:
clean:
	-rm -f *.o

distclean: clean
	-rm -f *.d

install:

#Patterns
%.o: %.cpp
	$(CPPCMD)

#dependencies
%.d: %.cpp
	$(DEPENDCMD)

ifeq ($(INCLUDEDEPENDANCIES),)
include $(SRCS:.cpp=.d)
endif
