File: Makefile.tools

package info (click to toggle)
dvi2ps 3.0a1-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,392 kB
  • ctags: 1,750
  • sloc: ansic: 11,699; sh: 277; makefile: 235
file content (23 lines) | stat: -rw-r--r-- 368 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
BINAREA=$(DESTDIR)/usr/bin
#
CC=cc
#
CCFLAGS = -O2 -DPOSIX	# NetBSD FreeBSD (gcc 2.X), Linux
#
INSTALL=install

all: texfix nup

texfix: texfix.c
	${CC} -o $@ texfix.c
nup: nup.c
	${CC} -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