OBJ= main.o io.o alpha.o
SRC= header.h main.c io.c alpha.c

#For system V get rid of -ltermcap
LIB= -lcurses -ltermcap

#Output file
EXE= tape

all: $(OBJ)
	cc -o $(EXE) $(OBJ) $(LIB)

$(OBJ):header.h

clean:
	rm -f $(OBJ) core make.out

kill:
	rm -f $(OBJ) core make.out $(EXE)

#local dependancy, not very useful ;-)
print:
	lpr -Porstcs $(SRC)
