From e95313cc22b2cee04d7907862bfab3336d50510f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 3 Feb 2018 22:58:43 +0100 Subject: [PATCH] fix: reveng needs a macro to compile. --- client/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index f069e38ab..d14dabef1 100644 --- a/client/Makefile +++ b/client/Makefile @@ -4,6 +4,11 @@ # the license. #----------------------------------------------------------------------------- +# reveng will compile without macros, but these may be useful: +# Add -DBMPMACRO to use bitmap size constant macros (edit config.h) +# Add -DNOFORCE to disable the -F switch +# Add -DPRESETS to compile with preset models (edit config.h) + CC = gcc CXX = g++ LD = g++ @@ -22,7 +27,7 @@ LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm LUALIB = ../liblua/liblua.a LDFLAGS = $(ENV_LDFLAGS) INCLUDES_CLIENT = -I. -I../include -I../common -I../common/polarssl -I../zlib -I../uart -I/opt/local/include -I../liblua -CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE $(INCLUDES_CLIENT) -Wall -g -O3 +CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -DPRESETS $(INCLUDES_CLIENT) -Wall -g -O3 CXXFLAGS = -I../include -Wall -O3 LUAPLATFORM = generic