mirror of
https://github.com/solemnwarning/directplay-lite
synced 2024-12-30 16:45:37 +01:00
11 lines
308 B
Makefile
11 lines
308 B
Makefile
CXX := i686-w64-mingw32-g++
|
|
CXXFLAGS := -std=c++11 -Wall
|
|
|
|
all: dpnet.dll
|
|
|
|
dpnet.dll: src/dpnet.o src/dpnet.def src/DirectPlay8Address.o src/DirectPlay8Peer.o
|
|
$(CXX) $(CXXFLAGS) -Wl,--enable-stdcall-fixup -shared -o $@ $^ -ldxguid -static-libstdc++ -static-libgcc
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|