X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=client%2Ftag%2F0.6.0%2Fanago%2FMakefile;fp=client%2Ftag%2F0.6.0%2Fanago%2FMakefile;h=c6af2c1799f47f47fe6d91df84a84e98f0602798;hb=9a20c609bdbe06bd0347415c7120e0df000542c4;hp=0000000000000000000000000000000000000000;hpb=c6723c88d2ef7b9d82bdec04a24dd939f9561235;p=unagi%2Fold-svn-converted.git diff --git a/client/tag/0.6.0/anago/Makefile b/client/tag/0.6.0/anago/Makefile new file mode 100644 index 0000000..c6af2c1 --- /dev/null +++ b/client/tag/0.6.0/anago/Makefile @@ -0,0 +1,21 @@ +all: anago.exe +LIBUSB = d:/dev/LibUSB-Win32 +SQUIRREL = ../SQUIRREL2 +KAZZO = ../../kazzo/firmware +VPATH = .. +#CFLAGS = -g -O0 +CFLAGS = -O2 +CFLAGS += -Wall -Werror -I.. -I$(LIBUSB)/include -I$(SQUIRREL)/include -I$(KAZZO) -DDEBUG=1 -DANAGO=1 +LDFLAG = -L. -L$(LIBUSB)/lib/gcc -L$(SQUIRREL)/lib +CC = gcc +OBJ = anago.o header.o crc32.o file.o \ + script_flash.o script_dump.o script_common.o \ + progress.o flash_device.o \ + reader_dummy.o reader_kazzo.o usb_device.o squirrel_wrap.o memory_manage.o +clean: + rm -f $(OBJ) +anago.exe: $(OBJ) + g++ -o $@ $(LDFLAG) $(OBJ) -lusb -lsqstdlib -lsquirrel + +script_flash.o: squirrel_wrap.h +script_dump.o: squirrel_wrap.h