summaryrefslogtreecommitdiff
path: root/tools/patch_strtab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patch_strtab/Makefile')
-rw-r--r--tools/patch_strtab/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/patch_strtab/Makefile b/tools/patch_strtab/Makefile
new file mode 100644
index 0000000..b76d8dd
--- /dev/null
+++ b/tools/patch_strtab/Makefile
@@ -0,0 +1,20 @@
+CC := gcc
+CFLAGS := -O3 -std=c99 -Wall
+
+ifeq ($(OS),Windows_NT)
+EXE := .exe
+else
+EXE :=
+endif
+
+TARGET := patch_strtab$(EXE)
+
+.PHONY: all
+
+all: $(TARGET)
+
+clean:
+ rm -f patch_strtab patch_strtab.exe
+
+$(TARGET): patch_strtab.c
+ $(CC) $(CFLAGS) -o $@ $^