GNUmakefile 412 Bytes

PRDEPTH = ../..
include $(PRDEPTH)/BBdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include -I$(ROOT)/usr/include
GLDOPTS=-L$(ROOT)/host_lib

OPTIMIZER = -g
LLDLIBS = -lecc
LCOPTS += -Wall

TARGETS = mkflash writeflash lsflash

default : $(TARGETS)

include $(PRDEPTH)/BBrules

exports install: default
	$(INSTALL) -F /usr/sbin $(TARGETS)

writeflash: writeflash.o fileif.o
lsflash: lsflash.o fileif.o