File: Makefile

package info (click to toggle)
lintex 1.06-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 204 kB
  • ctags: 88
  • sloc: cpp: 431; ansic: 397; makefile: 33
file content (25 lines) | stat: -rw-r--r-- 474 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
# $Id: Makefile,v 1.3 2001/12/02 11:00:05 loreti Exp $

CC = gcc
CFLAGS = -ansi -pedantic -Wall -O3
#CFLAGS = -ansi -pedantic -Wall -O -DFULLDEBUG

ROOT = debian/lintex/usr

.PHONY: install clean

lintex:	lintex.c Makefile
	$(CC) $(CFLAGS) -o $@ lintex.c

install: lintex
	strip lintex
	mv lintex   $(ROOT)/bin
	# Handle this in packaging
	#cp lintex.1 $(ROOT)/man/man1

lintex.pdf: lintex.1
	groff -man -Tps $< | ps2pdf - $@

clean:
	-rm *~ *.o core
	-rm lintex lintex.pdf