# Makefile for bing.c # Version: 1.2 # Define _one_ of these: ARCH = -DSUN # LINUX # SUN # IRIX # You can have the .pid file called whatever you want; # It defaults to .bing.pid # PIDFILE = -DPIDFILE .bing.pid # This is the default time bing will wait between bings in seconds BTIME = -DBTIME=2 # Comment this out to be slightly less verbose. It won't tell # you what its pid is when it runs, or if it is killed if you do. VERBOSE = -DVERBOSE # uncomment to debug #DEBUG = -DDEBUG C_FLAGS = $(ARCH) $(DEBUG) $(PIDFILE) $(BTIME) all: gcc -Wall $(C_FLAGS) bing.c -o bing clean: rm -f bing *.o core