File: Makefile

package info (click to toggle)
hlins 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 484 kB
  • sloc: ml: 1,215; makefile: 148; sh: 4
file content (22 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ifneq (,$(wildcard ../../../source/hlins))
	HLINS := ../../../source/hlins
else ifneq (,$(wildcard ../../../source/hlins.bc))
	HLINS := ../../../source/hlins.bc
else
	HLINS := $(error No hlins found)
endif

all: test1.out test2.out

test1.out: directors.db test1.in
	$(HLINS) -db directors.db -o test1.out test1.in

test2.out: test2.db test2.in
	$(HLINS) -db test2.db -o test2.out test2.in

clean:
	-rm *.out

distclean: clean
	-rm *~