File:  [Research Unix] / researchv9 / jtools / src / sunlib / x11 / mkfile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

CFLAGS  = -g -I.. -DBSD -DX11
LIB     = libj.a
LIBS    = -lX11
NPROC	= 2
OFILES = add.o bitblt.o button.o circle.o cos.o jerq.o menuhit.o mhit.o\
        muxbuf.o wait.o snd.o kbdrcv.o rcvfill.o sizehints.o ToBitmap.o\
	sun4.o getpoint.o
TESTS = t0 t1 t2 t3 t4 t5

%.o:    ../%.c
        $CC $CFLAGS -c ../$stem.c

$LIB: $OFILES ../jerq.h
	rm -f $LIB
        ar cr $LIB $OFILES
        ranlib $LIB

$OFILES: ../jerq.h

t%:      ../t%.c $LIB
        $CC -o $target -Bstatic $CFLAGS $prereq $LIBS

all:    $LIB $TESTS

unix.superglobalmegacorp.com

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