|
|
1.1 root 1: # Makefile for Unix Interpress utilities
2: #
3: # Copyright (c) 1984, 1985, 1986 Xerox Corp.
4: #
5: # HISTORY
6: # 03-Jul-86 Lee Moore (lee) at Xerox Webster Research Center
7: # Added "-lm" to the load line as a favor to Pyramids.
8: #
9: #
10:
11: DESTBIN=../../../bin
12: DESTINCLUDE=../../../include
13: DESTLIB=../../../lib
14:
15: maha: maha.o $(DESTLIB)/libip.a
16: $(CC) $(CFLAGS) -o maha maha.o $(DESTLIB)/libip.a -lm
17:
18: maha.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h $(DESTINCLUDE)/operator.h
19: $(CC) $(CFLAGS) -I$(DESTINCLUDE) -c maha.c
20:
21: # auxilary functions
22:
23: lint:
24: lint -ab -I$(DESTINCLUDE) maha.c lint.c $(DESTLIB)/llib-lip.ln -lc
25:
26: install: $(DESTBIN)/maha
27:
28: $(DESTBIN)/maha: maha
29: install -c -s maha $(DESTBIN)/maha
30:
31: clean:
32: rm -f maha *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.