Debian Codegraph @

sample/mock/Makefile

raw symbols SCIP
1 all: roll run
2
3 clean:
4 rm -f *~ *.o roll test test.cpp
5
6 CXXTEST = ../..
7 CCFLAGS = -I. -I$(CXXTEST)
8
9 roll: roll.o Dice.o real_stdlib.o
10 g++ -o $@ $^
11
12 run: test
13 ./test
14
15 test: test.o Dice.o mock_stdlib.o
16 g++ -o $@ $^
17
18 .cpp.o:
19 g++ -c -o $@ $(CCFLAGS) $<
20
21 test.cpp: TestDice.h
22 $(CXXTEST)/bin/cxxtestgen -o $@ --error-printer $<