Subject | Hash | Author | Date (UTC) |
---|---|---|---|
DRM-free dynamic target | c51ae66a80c38d4d8aec606ad04492ea12a56fcd | mse | 2021-05-23 23:53:32 |
Initial commit | bfb7298e48367d2ac0924811b4950f3066ff075c | mse | 2021-05-22 05:08:16 |
File | Lines added | Lines deleted |
---|---|---|
Makefile | 1 | 1 |
README.md | 5 | 1 |
File Makefile changed (mode: 100644) (index 5eceb14..829108f) | |||
... | ... | OPENSSL_TAR=$(OPENSSL_DIR).tar.gz | |
39 | 39 | ||
40 | 40 | LINCC := gcc -march=x86-64 -include $(shell readlink -f include/force_link_glibc_2.25.h) | LINCC := gcc -march=x86-64 -include $(shell readlink -f include/force_link_glibc_2.25.h) |
41 | 41 | LINCXX := $(CXX) -march=x86-64 -include $(shell readlink -f include/force_link_glibc_2.25.h) | LINCXX := $(CXX) -march=x86-64 -include $(shell readlink -f include/force_link_glibc_2.25.h) |
42 | CXXDYNAMIC=$(LINCXX) $(CXXFLAGS) -O3 -D__LIGHT__ -o $(PROGRAM)-dynamic $(PROGRAM).cpp libs.o libboost_system.a -Wl,-rpath,. -L. -l:libSDL2.so -lssl -lcrypto -pthread -lsteam_api | ||
42 | CXXDYNAMIC=$(LINCXX) $(CXXFLAGS) -O3 -D__LIGHT__ -o $(PROGRAM)-dynamic $(PROGRAM).cpp libs.o libboost_system.a -Wl,-rpath,. -L. -l:libSDL2.so -lssl -lcrypto -pthread | ||
43 | 43 | MACCXX=clang++ -march=x86-64 | MACCXX=clang++ -march=x86-64 |
44 | 44 | WINCXX=i686-w64-mingw32-g++-posix -march=pentium4 -static-libgcc -static-libstdc++ | WINCXX=i686-w64-mingw32-g++-posix -march=pentium4 -static-libgcc -static-libstdc++ |
45 | 45 | CXXFLAGS=-Iinclude -I$(OPENSSL_DIR)/include -I$(BOOST_DIR) -I$(POCO_DIR)/Foundation/include -I$(POCO_DIR)/Net/include -I$(POCO_DIR)/NetSSL_OpenSSL/include -I$(POCO_DIR)/Crypto/include -std=c++14 -Wall -Wextra -Wfatal-errors | CXXFLAGS=-Iinclude -I$(OPENSSL_DIR)/include -I$(BOOST_DIR) -I$(POCO_DIR)/Foundation/include -I$(POCO_DIR)/Net/include -I$(POCO_DIR)/NetSSL_OpenSSL/include -I$(POCO_DIR)/Crypto/include -std=c++14 -Wall -Wextra -Wfatal-errors |
File README.md changed (mode: 100644) (index 081d051..fc9a781) | |||
... | ... | sudo apt install build-essential libsdl2-dev \ | |
30 | 30 | libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev \ | libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev \ |
31 | 31 | libxrandr-dev libxi-dev libasound2-dev libpulse-dev libudev-dev | libxrandr-dev libxi-dev libasound2-dev libpulse-dev libudev-dev |
32 | 32 | ||
33 | To compile on GNU/Linux, simply run `make`, or read the makefile for other target platforms and configurations. The default DRM-free executable is called **cave-confec**. | ||
33 | To compile with static SDL2 and Boost on GNU/Linux, simply run `make`. The default DRM-free static executable is called **cave-confec**. | ||
34 | |||
35 | To compile with dynamic SDL2 on GNU/Linux (but still downloading and compiling Boost) run `make confec-dynamic`. The DRM-free dynamic executable is called **confec-dynamic**. | ||
36 | |||
37 | Read the makefile for other target platforms and configurations. | ||
34 | 38 | ||
35 | 39 | If you care to update non-executable dependencies, here is where to get them: | If you care to update non-executable dependencies, here is where to get them: |
36 | 40 |