###################################################################################
### Change the value of CC to reflect the C compiler you want to use
#CC = bcc	# Borland C++ for DOS/Windows
#CC = tcc	# Turbo C++ for DOS/Windows
#CC = cc	# CC (UNIX)
CC = gcc	# GNU CC, DJGPP

##################################################################################
### Change the value of STRIP to reflect the program you want to use to strip
### the symbol table from the program... this makes the size of the resulting
### executable smaller
STRIP = strip	# UNIX

##################################################################################
### Change the value of FLAGS to reflect any optimization flags you want to use
### with your compiler.
FLAGS = -O2	# for use with gcc, cc

##################################################################################
### Change the value of PULSEFINAL to reflect the name of the final executable
### that the compiler should produce
#PULSEFINAL = pulse.exe	# DOS/Win environment
PULSEFINAL = pulse

##################################################################################
### Change the value of INSTALL to reflect the name of the program used to
### install the final executable in its ultimate location
#INSTALL = copy	# DOS/Win
INSTALL = install

#################################################################################
### Change the value of INSTALLLOCATION to reflect the ultimate location where
### the pulse executable will reside
#INSTALLLOCATION = c:\windows\command	# DOS/Win
INSTALLLOCATION = /usr/local/bin

################################################################################
### Change the value of DELETE to reflect the name of the program used to delete
### files
#DELETE = del	# DOS/Win
DELETE = rm -f

###############################################################################
###              NO NEED TO CHANGE ANYTHING BELOW THIS LINE                 ###
###############################################################################


all:	pulseFinal

pulseFinal:
	${CC} ${FLAGS} pulse.c -o ${PULSEFINAL}
	${STRIP} ${PULSEFINAL}

install:
	${INSTALL} ${PULSEFINAL} ${INSTALLLOCATION}

clean:
	${DELETE} ${PULSEFINAL}
