summaryrefslogtreecommitdiff
path: root/dviware/ivd2dvi/makefile
blob: cdaec45f3149b29b5db38778b8101affef192ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Set this variable to the ultimate location of the software.
BINAREA=/usr/local/bin

CFLAGS = -O

OBJS = ivd2dvi.o auxiliary.o io.o
SRCS = ivd2dvi.c auxiliary.c io.c
INCLUDES = global.h commands.h

all: ivd2dvi

ivd2dvi: ${OBJS}
	cc ${CFLAGS} -o ivd2dvi ${OBJS}

${OBJS}: ${INCLUDES}

install: all
	install -s -m 755 ivd2dvi ${BINAREA}

bugs:   ${SRCS} ${INCLUDES}
	rm -f bugs
	lint -hbxac ${SRCS} > bugs