File: Makefile.tools

package info (click to toggle)
dvi2ps 4.1j-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,740 kB
  • ctags: 2,295
  • sloc: ansic: 14,953; sh: 964; makefile: 284
file content (23 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
BINAREA=$(DESTDIR)/usr/bin
#
CC=gcc
#
CFLAGS = -Wall -DPOSIX -g
#
INSTALL=install

all: texfix nup

texfix: texfix.c
	${CC} ${CFLAGS} -o $@ texfix.c
nup: nup.c
	${CC} ${CFLAGS} -o $@ nup.c

install: install-tools

install-tools: texfix nup
	${INSTALL} -c -s -m 755 texfix ${BINAREA}/texfix
	${INSTALL} -c -s -m 755 nup ${BINAREA}/nup

clean: 
	-rm nup texfix