
#
# this is piseek/makefile
#

#CC=gcc
LIBS=
XSUFFIX=elf

CXXFLAGS=-Wall -O  

TARGETS= \
piseek.$(XSUFFIX)


piseek.$(XSUFFIX) : piseek.c pifile.c myutils.c
	$(CC) $(CXXFLAGS) $(LIBS) -o $@ $< pifile.c myutils.c
	strip $@


.PHONY: all runall
all:  $(TARGETS)

$(TARGETS) : makefile.dos piseek.c pifile.c

runall : $(TARGETS)
	piseek.$(XSUFFIX) < piseek.in


