File:  [Research Unix] / researchv10no / cmd / hoc / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

YFLAGS = -d
CFLAGS = -g

SRC = hoc.y hoc.h code.c init.c math.c symbol.c
OBJS = hoc.o code.o init.o math.o symbol.o

hoc:	$(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -lm -o hoc

hoc.o code.o init.o symbol.o:	hoc.h

code.o init.o symbol.o:	x.tab.h

x.tab.h:	y.tab.h
	-cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h

pr:	$(SRC)
	@prcan $?
	@touch pr

install:	hoc
	cp hoc /usr/bin
	strip /usr/bin/hoc

clean:
	rm -f $(OBJS) [xy].tab.[ch]  hoc

bundle:
	@bundle $(SRC) makefile README

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.