ET_DIR  =   ../..
CCFLAGS =   +e2 -I$(ET_DIR)/src
CC      =   CC $(CCFLAGS)
LD      =   $(ET_DIR)/bin/etld
MAKEDEP =   $(ET_DIR)/bin/domakedep

#-------------------------------------------------------------------------------

OFILES  =   twoshapes.o

all:    twoshapes

twoshapes:  $(ET_DIR)/src/et.o $(OFILES)
	$(LD) $(LDFLAGS) -o $@ $(OFILES)

depend:
	$(MAKEDEP) *.[chC] > deps

clean:
	rm -f core *.o *..c

clobber:    clean
	rm -f twoshapes 

include deps
