File: Makefile.tools

package info (click to toggle)
dvi2ps 5.1j-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,428 kB
  • sloc: ansic: 15,077; sh: 10,353; makefile: 158
file content (23 lines) | stat: -rw-r--r-- 414 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=gcc
#
CFLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wno-error=incompatible-pointer-types
#
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