#
# Restore Makefile
#
# Copyright (C) 2002 Gemtek
#
# $Id: Makefile,v 1.18 2002/09/16 oscar yu Exp $
#

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


all: restore

clean:
	rm -f *~ restore

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

restore: restore.o 
#	$(CC) -o $@ $^ $(LDFLAGS) -lnvram
#	$(CC) -o $@ $^ $(LDFLAGS)
