###################################
#  Makefile for:  baby-shell      #
#                 tester1         #
#                 tester2         #
#  Written by:    B. Alcock       #
#  Last Modified: 30-12-96        #
###################################

CC 	= gcc

PROGS = baby-shell tester1 tester2

TEST1_OBJECTS = language.o lexical.o tester1.o
TEST2_OBJECTS = dopipe.o tester2.o
BABY_OBJECTS  = baby-shell.o dopipe.o language.o lexical.o

all:		$(PROGS) $(TESTS)

baby-shell:	$(BABY_OBJECTS)
		$(CC) -o baby-shell $(BABY_OBJECTS)
		strip baby-shell

tester1:	$(TEST1_OBJECTS)
		$(CC) -o tester1 $(TEST1_OBJECTS)
		strip tester1

tester2:	$(TEST2_OBJECTS)
		$(CC) -o tester2 $(TEST2_OBJECTS)
		strip tester2

clean:		
		rm -f *~
		rm -f *.o
		rm -f $(PROGS)
