# simple makefile
SRC = Makefile ro_file.h ro_file.cpp eg1.cpp readme index
all : ro_file.o eg1
ro_file.o : ro_file.cpp ro_file.h
g++ -c ro_file.cpp
eg1 : eg1.cpp ro_file.o
g++ -o eg1 eg1.cpp ro_file.o
clean :
rm *.o eg1 stlonfile.tgz stlonfile.zip *~
dist :
tar -zcvf stlonfile.tgz ${SRC}
zip stlonfile.zip ${SRC}