summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDylan Muller <dylan.muller@corigine.com>2023-09-16 12:34:28 +0200
committerDylan Muller <dylan.muller@corigine.com>2023-09-17 19:34:45 +0200
commitd9454c1ef1b140c21e096de80a98ce0b3e811681 (patch)
tree6a7a9963d7bf5898b1858c6feb7410da8aeef24b /Makefile
downloadgsctool-d9454c1ef1b140c21e096de80a98ce0b3e811681.tar.gz
gsctool-d9454c1ef1b140c21e096de80a98ce0b3e811681.zip
gsctool: core: initial commit
Initial commit of gsctool. A utility to inject custom GSC scripts for Call of Duty Black Ops 1 (PC).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..598cda1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CC=tcc.exe
+CFLAGS=-m32 -shared -lmsvcrt
+CFILES_GSC=gsctool.c lib/cdl86/cdl.c lib/miniz/miniz.c
+
+all: gsctool
+
+gsctool: gsctool.c
+ $(CC) $(CFLAGS) $(CFILES_GSC) -o gsctool.dll
+
+.PHONY: clean
+clean:
+ rm -f gsctool.dll
+