blob: 193da4aba94338a6d138a0e6ce271059af11cfd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $Id: Makefile,v 1.3 2001/12/02 11:00:05 loreti Exp $
CFLAGS += -ansi -pedantic -Wall `pkg-config --libs --cflags libconfig`
#CFLAGS = -ansi -Wall -g `pkg-config --libs --cflags libconfig`
ROOT = /usr/local
.PHONY: install clean
lintex: lintex.c Makefile
$(CC) $(CXXFLAGS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ lintex.c
install: lintex
strip lintex
mv lintex $(ROOT)/bin
cp lintex.1 $(ROOT)/man/man1
lintex.pdf: lintex.1
groff -man -Tps $< | ps2pdf - $@
clean:
-rm *~ *.o core
-rm lintex lintex.pdf
|