File: Makefile.rules

package info (click to toggle)
lksctp-tools 1.0.11%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,464 kB
  • sloc: ansic: 13,039; sh: 9,885; makefile: 239
file content (18 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*-makefile-*-
#
# Generate pre-parsed C code.
%.i: %.c
	$(COMPILE) -E -c $^ -o $@

.PRECIOUS: %.i
%.ci: %.i
	-grep -v -e "^#" -e "^ *$$" $^ | indent > $@
	mv -f $@ $^


## FIXME: Your stuff here

edit = @sed \
	-e "s|\@bindir\@|$(bindir)|" \
	-e "s|\@libdir\@|$(libdir)|" \
	-e "s|\@PACKAGE\@|$(PACKAGE)|"