#
# flash/Makefile 1.6 1995/12/13 18:54:33 (David Hinds)
#

# Include site dependent options
include ../config.mk

#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 *.s *.a tmp_make *~
	rm -f $(TOOLS)

install: $(TOOLS)
	mkdir -p $(PREFIX)/sbin
	cp -f $(TOOLS) $(PREFIX)/sbin
