.IGNORE:

OPT=-O

# On Digital Unix / Alpha machines, the following works well.  Use ev4
# if appropriate for your chipset.
#
#OPT=-DALPHA -O -om -non_shared -tune ev5

lip.o: lippar.h lip.c lip.h
	gcc $(OPT) lip.c -c

lippar.h: liptimer.c lip.c lip.h
	echo "" > lippar.h
	gcc $(OPT) lip.c -c
	gcc $(OPT) liptimer.c -c
	gcc lip.o liptimer.o -lm -o liptimer
	echo "running timer program"
	./liptimer

.c: lip.o lippar.h lip.h
	gcc $(OPT) $< lip.o -lm -o $@

clean:
	rm -f *.o
