14 lines
337 B
Makefile
14 lines
337 B
Makefile
|
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
|