# simplex_repeater Makefile

CC = gcc

# Needed for Linux
CFLAGS = -O2

HOME = /usr/local/simplex_repeater

INSTALL = /usr/local/bin

# Uncomment for lots of debugging garbage
#DEBUG = -DDEBUG -Wall -g

simplex_repeater: simplex_repeater.c
	${CC} ${CFLAGS} ${DEBUG} ${DEFINES} simplex_repeater.c -o simplex_repeater

install: simplex_repeater
	mkdir -p ${HOME}
	chmod 4550 simplex_repeater
	cp simplex_repeater ${INSTALL}
clean:
	rm -f simplex_repeater core *.c~
