File: Makefile.tools

package info (click to toggle)
dvi2ps 3.2j-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,344 kB
  • ctags: 1,896
  • sloc: ansic: 12,767; sh: 938; makefile: 269
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