From 4046f00cce80236e1f49bc27401edbc37300fbbc Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 7 Nov 2013 01:47:35 +0100 Subject: [PATCH] Replace EEPROM_WRITE switch by compile-time define from Makefile. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.0