From 7c66041a6f7d5e83a4f3a8d8570613e5b2f8d47b Mon Sep 17 00:00:00 2001 From: dongresource Date: Sat, 12 Oct 2024 15:42:26 +0200 Subject: [PATCH] Add make target for building without the sandbox --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e166708..aff12fe 100644 --- a/Makefile +++ b/Makefile @@ -134,6 +134,8 @@ all: $(SERVER) windows: $(SERVER) +nosandbox: $(SERVER) + # assign Windows-specific values if targeting Windows windows : CC=$(WIN_CC) windows : CXX=$(WIN_CXX) @@ -142,6 +144,8 @@ windows : CXXFLAGS=$(WIN_CXXFLAGS) windows : LDFLAGS=$(WIN_LDFLAGS) windows : SERVER=$(WIN_SERVER) +nosandbox : CFLAGS+=-DCONFIG_NOSANDBOX=1 + .SUFFIXES: .o .c .cpp .h .hpp .c.o: @@ -163,7 +167,7 @@ version.h: src/main.o: version.h -.PHONY: all windows clean nuke +.PHONY: all windows nosandbox clean nuke # only gets rid of OpenFusion objects, so we don't need to # recompile the libs every time