File: Makefile

package info (click to toggle)
mffm-timecode 1.6-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 1,288 kB
  • ctags: 280
  • sloc: cpp: 1,282; makefile: 94
file content (30 lines) | stat: -rw-r--r-- 755 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
23
24
25
26
27
28
29
30
HDR = timeCode.H counter.H field.H masterCounter.H
TST = $(HDR:.H=Test.C)
BIN = $(TST:.C=)
.C:
	g++ $< -o $@
#	set -e; $(CC) $@
#OBJ = $(SRC:.C=.o)

HDR_PATH=$(DESTDIR)/usr/include/mffm
XHDR_PATH=$(HDR_PATH)/X
XPMHDR_PATH=$(XHDR_PATH)/xpm

all:	$(BIN)
	echo make sure you have installed the timeCode.H header correctly
	g++ -o filterTest filterTest.C

install:
	install -d $(HDR_PATH) $(XHDR_PATH) $(XPMHDR_PATH)
	install -m644 *.H $(HDR_PATH)
	cd X; install -m644 *.H $(XHDR_PATH)
	cd X/xpm; install -m644 *.xpm $(XPMHDR_PATH)

clean:
	rm -f *~ *.o $(BIN) filterTest
	cd paper; make clean

counterTest: counter.H
fieldTest: counter.H field.H
MasterCounterTest: counter.H field.H MasterCounter.H
timeCodeTest: counter.H field.H masterCounter.H timeCode.H