summaryrefslogtreecommitdiff
path: root/support/db2tex/makefile
blob: b6f9192a0b510b071eb9e0bc64a40ef1d8ff61f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile für db2tex

DESTINATION=    /u1/usr/bin
PROGNAME=       db2tex
INCDIR=         /u1/usr/include
LIBFILES=       -lgen
CFLAGS=         -O -I$(INCDIR)
OFILES=         db2tex.o  db_tex.o
CFILES=         db2tex.c  db_tex.c
HFILES=         db2tex.h convent.h

$(PROGNAME):    $(OFILES)
		$(CC) $(CFLAGS) -o $(PROGNAME) $(OFILES) $(LIBFILES)

$(OFILES):      $(CFILES) $(HFILES)
		$(CC) $(CFLAGS) -c $(CFILES)

install:        $(PROGNAME)
		mv $(PROGNAME) $(DESTINATION)

clean:
		@rm -f $(OFILES) ,*