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
	V1_4_1:1.3
	V1_4:1.3
	V1_3_3:1.2
	V1_3_1:1.2
	V1_3:1.2
	V1_2:1.1
	V1_1:1.1;
locks; strict;
comment	@# @;


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

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

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

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


desc
@Makefile
@


1.4
log
@Makefile reorg; include master source is in vsta/src.  Centralize
common parameters.
@
text
@OUT=setime date
OBJS=setime.o time.o getdate.o date.o
include ../../makefile.all
LIB=-lc

setime: setime.o time.o getdate.o
	$(LD) $(LDFLAGS) $(CRT0) -o setime setime.o time.o getdate.o $(LIB)

date: date.o time.o
	$(LD) $(LDFLAGS) $(CRT0) -o date date.o time.o $(LIB)

install: all
	strip $(OUT)
	cp $(OUT) $(ROOT)/bin
@


1.3
log
@The great src/ renaming
@
text
@d1 4
a4 11
CC=gcc
CFLAGS=-I../../../include
LD=ld
CRT0=../../lib/crt0.o
LIB=-L../../lib -lc

PROGS=setime date
all: $(PROGS)

.c.o:
	$(CC) $(CFLAGS) -c $*.c
d7 1
a7 1
	$(LD) $(CRT0) -o setime setime.o time.o getdate.o $(LIB)
d10 1
a10 7
	$(LD) $(CRT0) -o date date.o time.o $(LIB)

clean:
	rm -f *.o

clobber: clean
	rm -f $(PROGS)
d13 2
a14 2
	strip $(PROGS)
	cp $(PROGS) ../../../bin
@


1.2
log
@Add clean, clobber, install targets
@
text
@d2 1
a2 1
CFLAGS=-I../../include -I../.. -g
d4 2
a5 2
CRT0=../../libc/crt0.o
LIB=-L../../libc -lc
d27 1
a27 1
	cp $(PROGS) ../../bin
@


1.1
log
@Initial revision
@
text
@d7 2
a8 1
all: setime date
d20 8
a27 3
	del *.o
	del setime
	del date
@
