aboutsummaryrefslogtreecommitdiffstats
path: root/test/m0-cpp-smoke/makefile
blob: b341a3f39ba2e55c4e01eae58d17837b91614359 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
TARGET=m0-cpp-smoke
CXX?=clang++
# you should change the include path to one that is right for you
CXX_FLAGS=-I/usr/lib/gcc/x86_64-redhat-linux/7.3.1/include -std=c++14

.DEFAULT:all clean

.PHONY:all clean $(TARGET) help

all:$(TARGET)

.cpp.o:
	$(CXX) $(CXX_FLAGS) -c $< -o $@ 

$(TARGET): m0-cpp-smoke.o
	$(CXX) $^ $(LD_FLAGS) -o $@

clean:
	rm -f *.o *~ $(TARGET)

help:
	@echo "the makfile for the bruiser test file."
	@echo "there is the taget itself, all and clean."