File: test.mk

package info (click to toggle)
colormake 0.9.20140504-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 180 kB
  • sloc: perl: 101; sh: 64; makefile: 11; cpp: 5
file content (14 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# colormake test
# License GNU GPL 3

CXXFLAGS=-Wall

all: src/test.o
	${CXX} ${CXXFLAGS} -o test test.o 

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

clean:
	rm -f *.o 2 > /dev/null
	rm -f test test.exe 2 > /dev/null