mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 05:20:05 +00:00
Add make target for building without Landlock
This commit is contained in:
parent
c196171034
commit
0e32a8974f
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