Przeglądaj źródła

update url for windows, add dll line to make file

leaf corcoran 12 lat temu
rodzic
commit
1a0d919f3c
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 5 0
      Makefile
  2. 1 1
      docs/index.md

+ 5 - 0
Makefile

@@ -1,2 +1,7 @@
 enet.so: enet.c
 	luarocks make --local
+
+
+enet.dll: enet.c
+	gcc -O2 -shared -o $@ $< -lenet -llua5.1 -lws2_32 -lwinmm
+

+ 1 - 1
docs/index.md

@@ -33,7 +33,7 @@ Otherwise you can download the source can from GitHub:
 
 Prebuilt binaries are provided:  
 
-Download <http://leafo.net/lua-enet/bin/lua-enet-1.0.zip>.  
+Download <http://leafo.net/lua-enet/bin/lua-enet-1.1.zip>.  
 Unzip and install alongside your Lua installation.
 
 <a name="tutorial"></a>