#Homework 1 makefile
#################
#Platform Considerations

ifndef pf
	pf = unix
	pf = cyg
endif

ifeq (${pf}, cyg)
	p = a.exe

else
ifeq (${pf}, unix)
	p = a.out

endif
endif
##################

compile:
	cc h1.c

run:
	exec ./${p}

h1:
	cc h1.c && exec ./a.out

tar:
	tar cvf hw1.tar makefile\ h1.c