mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
[sandbox] Add make target for building without Landlock
This commit is contained in:
parent
197ccad0eb
commit
5e73ff272d
5
Makefile
5
Makefile
@ -133,8 +133,8 @@ HDR=$(CHDR) $(CXXHDR)
|
|||||||
all: $(SERVER)
|
all: $(SERVER)
|
||||||
|
|
||||||
windows: $(SERVER)
|
windows: $(SERVER)
|
||||||
|
|
||||||
nosandbox: $(SERVER)
|
nosandbox: $(SERVER)
|
||||||
|
nolandlock: $(SERVER)
|
||||||
|
|
||||||
# assign Windows-specific values if targeting Windows
|
# assign Windows-specific values if targeting Windows
|
||||||
windows : CC=$(WIN_CC)
|
windows : CC=$(WIN_CC)
|
||||||
@ -145,6 +145,7 @@ windows : LDFLAGS=$(WIN_LDFLAGS)
|
|||||||
windows : SERVER=$(WIN_SERVER)
|
windows : SERVER=$(WIN_SERVER)
|
||||||
|
|
||||||
nosandbox : CFLAGS+=-DCONFIG_NOSANDBOX=1
|
nosandbox : CFLAGS+=-DCONFIG_NOSANDBOX=1
|
||||||
|
nolandlock : CFLAGS+=-DCONFIG_NOLANDLOCK=1
|
||||||
|
|
||||||
.SUFFIXES: .o .c .cpp .h .hpp
|
.SUFFIXES: .o .c .cpp .h .hpp
|
||||||
|
|
||||||
@ -167,7 +168,7 @@ version.h:
|
|||||||
|
|
||||||
src/main.o: version.h
|
src/main.o: version.h
|
||||||
|
|
||||||
.PHONY: all windows nosandbox clean nuke
|
.PHONY: all windows nosandbox nolandlock clean nuke
|
||||||
|
|
||||||
# only gets rid of OpenFusion objects, so we don't need to
|
# only gets rid of OpenFusion objects, so we don't need to
|
||||||
# recompile the libs every time
|
# recompile the libs every time
|
||||||
|
Loading…
Reference in New Issue
Block a user