summaryrefslogtreecommitdiff
path: root/makeHexsparkles.bat
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2015-08-26 02:28:37 -0400
committercheapie <no-email-for-you@example.com>2015-08-26 02:28:37 -0400
commit0df279ad8735176f7bb3ffbac1971cd5bdc6572a (patch)
treec253c11f120113c44907d598cf1d65c2fea1c7e7 /makeHexsparkles.bat
parent63f28d8cb0bdb176e23d9296255cf86c4f3430c2 (diff)
downloadsparkles-0df279ad8735176f7bb3ffbac1971cd5bdc6572a.tar
sparkles-0df279ad8735176f7bb3ffbac1971cd5bdc6572a.tar.gz
sparkles-0df279ad8735176f7bb3ffbac1971cd5bdc6572a.tar.bz2
sparkles-0df279ad8735176f7bb3ffbac1971cd5bdc6572a.tar.xz
sparkles-0df279ad8735176f7bb3ffbac1971cd5bdc6572a.zip
One source file for XChat and HexChat
4hexchat.c was really ugly and I'm removing the need for it. Now there's a HEXCHAT define, and turning it on makes all the XChat API functions aliases to the HexChat API functions
Diffstat (limited to 'makeHexsparkles.bat')
-rw-r--r--makeHexsparkles.bat3
1 files changed, 1 insertions, 2 deletions
diff --git a/makeHexsparkles.bat b/makeHexsparkles.bat
index 6b47ab9..07b3a5c 100644
--- a/makeHexsparkles.bat
+++ b/makeHexsparkles.bat
@@ -1,4 +1,3 @@
-4hexchat sparkles.c hexsparkles.c
-gcc -c -o hexsparkles.o hexsparkles.c -std=gnu99
+gcc -c -o hexsparkles.o sparkles.c -D HEXCHAT -std=gnu99
gcc -o hexsparkles.dll -s -shared hexsparkles.o -Wl,--subsystem,windows
pause \ No newline at end of file