#
# PHY config Makefile
#

CFLAGS	+= -I. -I$(TOP)/shared -I$(SRCBASE)/include -Wall
#CFLAGS	+= -g -DDEBUG
CFLAGS	+= -s -O2

all: phyconf

clean:
	rm -f *~ phyconf

install: all
	install -d $(INSTALLDIR)/sbin
	install phyconf $(INSTALLDIR)/sbin
	$(STRIP) $(INSTALLDIR)/sbin/phyconf
	install phyconf $(INSTALLDIR)/sbin
	$(STRIP) $(INSTALLDIR)/sbin/phyconf

phyconf: phyconf.o
	$(CC) -o $@ $^
