Ticket #12483: makefile

File makefile, 245 bytes (added by kim.lykke.johansen@…, 6 years ago)
Line 
1SOURCES = signals.cpp
2OBJECTS = ${SOURCES:.cpp=.o}
3EXECUTABLE = test
4CXX = g++
5CXXFLAGS = -std=c++11
6
7
8
9%.o: %.cpp
10 ${CXX} -c -o $@ $< ${CXXFLAGS}
11
12${EXECUTABLE}: ${OBJECTS}
13 ${CXX} -o $@ $^ $(LIBS)
14
15clean:
16 rm ${OBJECTS} ${EXECUTABLE}