#
# flash/Makefile 1.8 1997/06/04 15:50:19 (David Hinds)
#

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

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

COFLAGS = -kv

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

all:	.depend $(TOOLS)

dep .depend: $(SRCS)
	$(CPP) -M -I../include $(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
