rFactorPluginServer/Makefile

14 lines
337 B
Makefile
Raw Normal View History

2022-02-10 07:40:58 +00:00
CC = x86_64-w64-mingw32-g++
INCLUDES = -I "Include/" -I "/usr/x86_64-w64-mingw32/include"
LIBRARIES = -L/usr/x86_64-w64-mingw32/lib -lws2_32
SOURCES = Source/RFServer.cpp
.PHONY: all clean install
all:
$(CC) -O3 -c $(SOURCES) $(INCLUDES)
$(CC) -O3 -shared -o RFServer.dll RFServer.o $(LIBRARIES)
clean:
-rm RFServer.dll RFServer.o