

CFLAGS  += -s -O2 -Wall

CFLAGS  += $(PATHUSER)
CFLAGS  += $(PATHNVRAM)
CFLAGS  += $(PATHFACTORY)
LDFLAGS += $(LIBNVRAM)
LDFLAGS += $(LIBFACTORY)


#vpath %.c $(TOP)/shared

OBJS	= easytest.o

all: clean easytest

easytest: $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)

clean:
	rm -rf easytest

romfs:
	cp easytest $(ROMFSDIR)/bin/easytest


install: all
	install -d $(INSTALLDIR)/bin
	install easytest $(INSTALLDIR)/bin
