File: makefile

package info (click to toggle)
klustakwik 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 168 kB
  • ctags: 119
  • sloc: cpp: 812; ansic: 103; makefile: 21
file content (20 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SRC=KlustaKwik.C
MSRC=KlustaKwik.h param.c param.h Array.h
ASRC=$(SRC) $(MSRC)

CPPFLAGS=-O -g

KlustaKwik: $(SRC) $(MSRC)
	g++ $(CPPFLAGS) -o $@ KlustaKwik.C  param.c -lm

test: check
check: KlustaKwik
	./KlustaKwik test 1 -MinClusters 2 >| tempout
	: # For now no actual test, because non-noise cluster
	: # indicies differ from the 'test' ones
	diff test_res.clu.1 test.clu.1 || :

clean:
	-rm -f $(SRC:.C=) tempout test.clu.1 test.klg.1 test.out

.PHONY: check test