X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/83288efc7d1b673d30edee6ce732d1de8c505da3..a7247d858b195bd21eeba6d65a882323ad71d030:/common/Makefile.common diff --git a/common/Makefile.common b/common/Makefile.common index 144bee43..6260eb05 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -22,6 +22,7 @@ DELETE=rm -rf MOVE=mv COPY=cp PATHSEP=/ +FLASH_TOOL=linux/flasher DETECTED_OS=Linux # You may/should set this in your environment ARMLIB ?= /usr/local/lib/gcc/arm-elf/4.3.3/interwork @@ -35,6 +36,7 @@ MOVE=ren COPY=copy PATHSEP=\\# ARMLIB ?= ../../devkitARM/lib/gcc/arm-elf/4.1.0/interwork +FLASH_TOOL=winsrc\\prox.exe DETECTED_OS=Windows endif @@ -52,9 +54,9 @@ INCLUDE = -I../include # Also search prerequisites in the common directory (for usb.c), and the fpga directory (for fpga.bit) VPATH = . ../common/ ../fpga/ -INCLUDES = ../include/proxmark3.h ../include/at91sam7s128.h ../include/config_gpio.h ../include/usb_cmd.h $(APP_INCLUDES) +INCLUDES = ../include/proxmark3.h ../include/at91sam7s512.h ../include/config_gpio.h ../include/usb_cmd.h $(APP_INCLUDES) -CFLAGS = -c $(INCLUDE) -Werror -pedantic -std=gnu99 $(APP_CFLAGS) +CFLAGS = -c $(INCLUDE) -Wall -Werror -pedantic -std=gnu99 $(APP_CFLAGS) THUMBOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(THUMBSRC)) ARMOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(ARMSRC))