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