# Makefile for rdshasta / wrshasta
# do make install as root
CCFLAGS=-O2 -Wall -s -N

all: rdshasta wrshasta

rdshasta:	rdshasta.c	shasta.cfg
	$(CC)	$(CCFLAGS) -o rdshasta rdshasta.c

wrshasta:	wrshasta.c
	$(CC)	$(CCFLAGS) -o wrshasta wrshasta.c

install:
	chown root rdshasta wrshasta
	chmod 4755 rdshasta wrshasta

clean:
	rm *.o *~

