File: Makefile

package info (click to toggle)
grunch 1.3-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 204 kB
  • ctags: 25
  • sloc: sh: 830; ansic: 155; perl: 91; makefile: 69
file content (31 lines) | stat: -rw-r--r-- 879 bytes parent folder | download
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
31
# The following two lines were modified for Debian by Dr. Guenter Bechly
DESTDIR =
INSTALLDIR = $(DESTDIR)/usr/bin

ALL: match pgmramp8

clean:
	rm -f match match.o pgmramp8 pgmramp8.o *~

match: match.o
	cc -o match match.o -lppm -lpgm -lpbm -lm
	
match.o: match.c
	cc -c -O6 -o match.o match.c

pgmramp8: pgmramp8.c
	cc  pgmramp8.c   -o pgmramp8 -lpgm -lpnm -lpbm -lppm

libc5-hacks:
	ln -fs match_libc5 match
	ln -fs pgmramp8_libc5 pgmramp8
	
glibc-hacks:
	ln -fs match_glibc match
	ln -fs pgmramp8_glibc pgmramp8

install: avgpgmval compose grunch makescale munch pgmramp8 rgrunch
	cp avgpgmval compose grunch makescale munch pgmramp8 rgrunch $(INSTALLDIR)
	cp makecard makecover printcard printcover scancover texttocard $(INSTALLDIR)
	cp match makecolorsheet makesheet printcolorsheet printsheet $(INSTALLDIR)
# The previous line was added for Debian by Dr. Guenter Bechly