#
# flash/Makefile 1.2 1995/07/31 04:01:16 (David Hinds)
#

# Include site dependent options
include ../make.options
include ../xtra.options

#ifndef CFLAGS
CFLAGS = -O -Wall -Wstrict-prototypes -pipe -I../modules
XFLAGS = -O -pipe -I../modules
#endif

COFLAGS = -kv

SRCS = ftl_format.c ftl_check.c
TOOLS = ftl_format ftl_check

all:	$(TOOLS)

dep:	$(SRCS)
	$(CPP) -M -I../modules $(SRCS) > .depend

clean:
	rm -f core core.* *.o *.a tmp_make *~
	for i in *.c;do rm -f `basename $$i .c`.s;done
	rm -f $(TOOLS)

install: $(TOOLS)
	cp -f $(TOOLS) /sbin
