From: Nathael Pajani Date: Thu, 7 Nov 2013 00:47:35 +0000 (+0100) Subject: Replace EEPROM_WRITE switch by compile-time define from Makefile. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=4046f00cce80236e1f49bc27401edbc37300fbbc;p=soft%2Flpc122x%2Fcore Replace EEPROM_WRITE switch by compile-time define from Makefile. --- diff --git a/Makefile b/Makefile index b453dd5..2208c20 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,9 @@ LINKOPTS = -nostartfiles -Wl,--gc-sections -Wl,--build-id=none \ .PHONY: all all: $(NAME) +prog: CFLAGS += -DEEPROM_WRITE +prog: clean all + INCLUDES = include/ OBJDIR = objs