File:  [CSRG BSD Unix] / 43BSD / lib / c2 / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#	@(#)Makefile	4.4	(Berkeley)	85/07/06
#
CFLAGS=-DCOPYCODE -DC2 -O
LDFLAGS=
ASDIR = /usr/src/bin/as

SRCS = makefile c2.h c20.c c21.c c22.c

c2:	c20.o c21.o c22.o
	$(CC) $(LDFLAGS) -o c2 c2?.o

c20.o:	c20.c c2.h
c21.o:	c21.c c2.h
c22.o:  c22.c c2.h instrs.c2
	$(CC) $(CFLAGS) -R -c c22.c

instrs.c2: $(ASDIR)/instrs
	(echo FLAVOR C2 ; cat $(ASDIR)/instrs) | awk -f $(ASDIR)/instrs > instrs.c2

clean:
	rm -f *.o *.s 

install: c2
	install -s c2 $(DESTDIR)/lib

sources: $(SRCS)

$(ASDIR)/instrs:
	(cd $(ASDIR); sccs get instrs)

$(SRCS):
	sccs get $@

unix.superglobalmegacorp.com

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