include $(LINUX_NE_ROOT)/apps/Rules.mak
all:	cpsel.flt cp-test.flt boa_indexer.flt

install:
	$(ROMFSINST) cpsel.flt $(ROMFSDIR)/sbin/cpsel$(EXECSUFFIX)
	$(ROMFSINST) cp-test.flt $(ROMFSDIR)/sbin/cp-test$(EXECSUFFIX)
	$(ROMFSINST) boa_indexer.flt $(ROMFSDIR)/sbin/boa_indexer$(EXECSUFFIX)

clean:	
	rm -f *.[do] *.elf *.flt *.gdb *.bin
	
cpsel.o: cpsel.c cpsel.config.h

boa_indexer.bin: index_dir.o
	$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)

