head	1.4;
access;
symbols
	V1_6_7:1.4
	V1_6_6:1.4
	V1_6_5:1.4
	V1_6_4:1.4
	V1_6_3:1.4
	V1_6_2:1.3
	V1_6_1:1.3
	V1_6:1.3
	V1_5_2:1.3;
locks; strict;
comment	@# @;


1.4
date	2000.03.23.14.48.00;	author vandys;	state Exp;
branches;
next	1.3;

1.3
date	96.04.05.12.15.48;	author vandys;	state Exp;
branches;
next	1.2;

1.2
date	96.03.19.22.19.53;	author vandys;	state Exp;
branches;
next	1.1;

1.1
date	96.03.10.20.26.55;	author vandys;	state Exp;
branches;
next	;


desc
@Makefile
@


1.4
log
@Makefile reorg; include master source is in vsta/src.  Centralize
common parameters.
@
text
@COPTS=-Wall
OBJS=main.o open.o rw.o stat.o
OUT=sema

include ../../makefile.all

LIBS=-lusr -lc

sema: $(OBJS)
	$(LD) $(LDFLAGS) -o sema $(CRT0) $(OBJS) $(LIBS)

test: test.o
	$(LD) $(LDFLAGS) -o test $(CRT0) test.o $(LIBS)

install: all
	strip sema
	cp sema $(ROOT)/boot
@


1.3
log
@Encode CRT0
@
text
@d1 3
a3 8
CC=gcc
LD=ld
INCS=-I../../../include
CFLAGS=-Wall $(INCS)
LDFLAGS= -L../../lib
OBJS= main.o open.o rw.o stat.o
LIBS= -lusr -lc
CRT0=../../lib/crt0.o
d5 3
a7 3
all: sema
.c.o:
	$(CC) $(CFLAGS) -c $*.c
a14 6
clean:
	rm -f *.o

clobber: clean
	rm -f sema test

d17 1
a17 1
	cp sema ../../../boot
@


1.2
log
@Add target for test command
@
text
@d8 1
d15 1
a15 1
	$(LD) $(LDFLAGS) -o sema ../../lib/crt0.o $(OBJS) $(LIBS)
d18 1
a18 1
	$(LD) $(LDFLAGS) -o test ../../lib/crt0.o test.o $(LIBS)
@


1.1
log
@Initial revision
@
text
@d16 3
d23 1
a23 1
	rm -f sema
@
