File: Makefile

package info (click to toggle)
paraclu 9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 124 kB
  • ctags: 28
  • sloc: cpp: 131; sh: 47; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CXX = g++
CXXFLAGS = -Wall -W -O3

all: paraclu

paraclu: paraclu.cc Makefile
	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ paraclu.cc

clean: FORCE
	rm -f paraclu

log: FORCE
	hg log --style changelog > ChangeLog.txt

distdir = paraclu-`hg id -n`

dist: log
	mkdir ${distdir}
	cp *.cc *.sh *.txt Makefile ${distdir}
	zip -qrm ${distdir} ${distdir}

FORCE: