From 198e8ed231f47b48e3d901c4adda7b51feb3ac86 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sun, 8 Apr 1990 12:48:07 +0000 Subject: [PATCH] add LCC - a better C-Compiler for WEGA --- WEGA/contrib/lcc/contrib/libtermlib/Makefile | 51 ++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 WEGA/contrib/lcc/contrib/libtermlib/Makefile diff --git a/WEGA/contrib/lcc/contrib/libtermlib/Makefile b/WEGA/contrib/lcc/contrib/libtermlib/Makefile new file mode 100644 index 0000000..d3c7877 --- /dev/null +++ b/WEGA/contrib/lcc/contrib/libtermlib/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (c) 1980 Regents of the University of California. +# All rights reserved. The Berkeley software License Agreement +# specifies the terms and conditions for redistribution. +# +# @(#)Makefile 5.1 (Berkeley) 6/5/85 +# +_LIB= libtermlib.a + +LIB= L$(_LIB) +PREFIX= /z/LCC +CC= lcc +LD= ldd + +#LIB= $(_LIB) +#PREFIX= /usr +#CC= cc +#LD= ld + +#LIB= s$(_LIB) +#PREFIX= /usr +#CC= scc +#LD= sld + +CFLAGS= -O -DCM_N -DCM_GT -DCM_B -DCM_D + +AR= -ar +ARFLAGS= rvu + +CHMOG= chmog +CP= cp +RANLIB= ranlib +LIBMODE= 644 +LIBOWNER= wega +LIBGROUP= system + +SRCS= termcap.c tgoto.c tputs.c +OBJS= termcap.o tgoto.o tputs.o + +all: $(LIB) + +$(LIB): ${OBJS} + ar cr $(LIB) $(OBJS) + +install: all + $(CP) $(LIB) $(PREFIX)/lib + $(CHMOG) $(LIBMODE) $(LIBOWNER) $(LIBGROUP) $(PREFIX)/lib/$(LIB) + $(RANLIB) $(PREFIX)/lib/$(LIB) + +clean: + -rm -f *.o $(LIB)