File: Makefile.rules

package info (click to toggle)
sigit 0.3.2-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 612 kB
  • ctags: 192
  • sloc: ansic: 4,796; sh: 2,461; makefile: 138
file content (17 lines) | stat: -rw-r--r-- 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Standard compilation rules (don't use make builtins)
#
# $Id: Makefile.rules,v 1.2 2002/10/18 18:25:23 redhead Exp $ 

%.o: %.c
	$(CC) $(CFLAGS) $(DFLAGS) $(LIBS) $(INCFLAGS) -c  $<  -o $@ -D$(EXEC)

%.o: %.cc
	$(CC) $(CFLAGS) $(DFLAGS) $(LIBS) -c  $<  -o $@ -D$(EXEC)

%.c: %.s
	$(C)  -O7 -c -S -o $@ $<

%.1: %.pod
	pod2man --section=1 --release="Amusements" \
	--center="By Kenneth 'Redhead' Nielsen" \
	--official $< > $@