1 | SOURCES = signals.cpp
|
---|
2 | OBJECTS = ${SOURCES:.cpp=.o}
|
---|
3 | EXECUTABLE = test
|
---|
4 | CXX = g++
|
---|
5 | CXXFLAGS = -std=c++11
|
---|
6 |
|
---|
7 |
|
---|
8 |
|
---|
9 | %.o: %.cpp
|
---|
10 | ${CXX} -c -o $@ $< ${CXXFLAGS}
|
---|
11 |
|
---|
12 | ${EXECUTABLE}: ${OBJECTS}
|
---|
13 | ${CXX} -o $@ $^ $(LIBS)
|
---|
14 |
|
---|
15 | clean:
|
---|
16 | rm ${OBJECTS} ${EXECUTABLE}
|
---|