Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # $Id: Makefile,v 1.3 2001/12/02 11:00:05 loreti Exp $
2
3 CFLAGS += -ansi -pedantic -Wall `pkg-config --cflags libconfig`
4 #CFLAGS = -ansi -Wall -g `pkg-config --cflags libconfig`
5 LIBS += `pkg-config --libs libconfig`
6
7 ROOT = /usr/local
8
9 .PHONY: install clean
10
11 lintex: lintex.c Makefile
12 $(CC) $(CXXFLAGS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ lintex.c $(LIBS)
13
14 install: lintex
15 strip lintex
16 mv lintex $(ROOT)/bin
17 cp lintex.1 $(ROOT)/man/man1
18
19 lintex.pdf: lintex.1
20 groff -man -Tps $< | ps2pdf - $@
21
22 clean:
23 -rm *~ *.o core
24 -rm lintex lintex.pdf