# web_cw_beacon Makefile

# Needed for Linux
CFLAGS = -O2

INSTALL = /usr/local/bin

all: web_cw_beacon cw_beacon

web_cw_beacon: web_cw_beacon.c
	gcc ${CFLAGS} -o web_cw_beacon web_cw_beacon.c

cw_beacon: cw_beacon.c
	gcc ${CFLAGS} -o cw_beacon cw_beacon.c   

clean:
	rm -f web_cw_beacon cw_beacon *.core core *.c~

install:
	chmod 4550 web_cw_beacon cw_beacon
	cp web_cw_beacon cw_beacon ${INSTALL}
