SOURCES = signals.cpp OBJECTS = ${SOURCES:.cpp=.o} EXECUTABLE = test CXX = g++ CXXFLAGS = -std=c++11 %.o: %.cpp ${CXX} -c -o $@ $< ${CXXFLAGS} ${EXECUTABLE}: ${OBJECTS} ${CXX} -o $@ $^ $(LIBS) clean: rm ${OBJECTS} ${EXECUTABLE}