head	1.5;
access;
symbols
	V1_6_7:1.5
	V1_6_6:1.5
	V1_6_5:1.4
	V1_6_4:1.4
	V1_6_3:1.4;
locks; strict;
comment	@# @;


1.5
date	2000.11.27.21.29.20;	author vandys;	state Exp;
branches;
next	1.4;

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

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

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

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


desc
@Makefile
@


1.5
log
@Add keyboard input test
@
text
@COPTS=-Wall
OBJS=main.o open.o rw.o stat.o
OUT=selfs

include ../../makefile.all

LIBS=-lusr -lc

selfs: $(OBJS)
	rm -f selfs
	$(LD) $(LDFLAGS) -o selfs $(CRT0) $(OBJS) $(LIBS)

tst: tst.o
	rm -f tst
	$(LD) $(LDFLAGS) -o tst $(CRT0) tst.o $(LIBS)

kbd: kbd.o
	rm -f kbd
	$(LD) $(LDFLAGS) -o kbd $(CRT0) kbd.o $(LIBS)

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


1.4
log
@Makefile reorg; include master source is in vsta/src.  Centralize
common parameters.
@
text
@d17 4
@


1.3
log
@Optimize as default
@
text
@d1 1
a1 5
CC=gcc
LD=ld
INCS=-I../../../include
CFLAGS=-Wall -O $(INCS)
LDFLAGS= -L../../lib
d3 4
a7 5
CRT0=../../lib/crt0.o

all: selfs
.c.o:
	$(CC) $(CFLAGS) -c $*.c
a16 6
clean:
	rm -f *.o

clobber: clean
	rm -f selfs tst

d19 1
a19 1
	cp selfs ../../../boot
@


1.2
log
@Rename test program (avoid conflict with standard utility)
@
text
@d4 1
a4 1
CFLAGS=-Wall -g $(INCS)
@


1.1
log
@Initial revision
@
text
@d18 3
a20 3
test: test.o
	rm -f test
	$(LD) $(LDFLAGS) -o test $(CRT0) test.o $(LIBS)
d26 1
a26 1
	rm -f selfs test
@
