You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
293 B
13 lines
293 B
OS_SUPPORT =
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
OS_SUPPORT += server/winhelper.cpp
|
|
endif
|
|
$(info $(OS_SUPPORT))
|
|
|
|
server.bin:
|
|
g++ server/server.cpp $(OS_SUPPORT) --std=c++1z -O3 -march=native -o server.bin
|
|
snippet:
|
|
g++ -shared -fPIC --std=c++1z out.cpp -O3 -march=native -o dll.so
|
|
clean:
|
|
rm *.shm -rf
|