]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # $Source$ | |
3 | # $Header$ | |
4 | # | |
5 | ||
6 | # | |
7 | # Makefile for the sms stuff --mark roman 7/6/87 | |
8 | # | |
9 | CFILES = rafnu.c students.c employee.c | |
10 | ||
11 | LIBS = -L../lib -lsms -lgdb -lcom_err -lzephyr -lkrb -ldes \ | |
12 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
13 | CFLAGS = -I../include | |
14 | ||
15 | .SUFFIXES: .qc | |
16 | ||
17 | .qc.c: | |
18 | rm -f $*.c | |
19 | /usr/rtingres/bin/eqc -p $* | |
20 | ||
21 | all: students employee | |
22 | ||
23 | students: students.o rafnu.o | |
24 | cc -o students students.o rafnu.o $(LIBS) | |
25 | ||
26 | employee: employee.o rafnu.o | |
27 | cc -o employee employee.o rafnu.o $(LIBS) | |
28 | ||
29 | clean: | |
30 | rm -f regtape students employee core | |
31 | rm -f students.c employee.c | |
32 | rm -f *~ *.o | |
33 | ||
34 | lint: | |
35 | lint $(CFILES) | |
36 | ||
37 | install: students employee | |
38 | install -c students ../bin/students | |
39 | install -c employee ../bin/employee | |
40 | ||
41 | depend: ${CFILES} | |
42 | mkdep ${CFLAGS} ${CFILES} | |
43 | ||
44 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
45 | ||
46 | rafnu.o: rafnu.c /usr/include/stdio.h /usr/include/ctype.h | |
47 | students.o: students.c /usr/include/stdio.h /usr/include/strings.h | |
48 | students.o: /usr/include/ctype.h /usr/include/sys/time.h | |
49 | students.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h | |
50 | students.o: ../include/sms_app.h ../include/mit-copyright.h | |
51 | employee.o: employee.c /usr/include/stdio.h /usr/include/strings.h | |
52 | employee.o: /usr/include/ctype.h /usr/include/sys/time.h | |
53 | employee.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h | |
54 | employee.o: ../include/sms_app.h ../include/mit-copyright.h |