summaryrefslogtreecommitdiff
path: root/tools/patch_strtab/Makefile
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-09-23 15:42:36 -0400
committerGitHub <noreply@github.com>2020-09-23 15:42:36 -0400
commit918e8900d9da562c4d7566f80e154498fbdbc97b (patch)
treea2868f8f991fde1738ba7f64d907b221d6d5460f /tools/patch_strtab/Makefile
parent0acf44f0b91fa912101901d292552bae55f2fa93 (diff)
parent96d9708dcf20c7537773bbc67f171b68b00e36d3 (diff)
Merge pull request #70 from mparisi20/master
Add patch_strtab tool. Split ut_list, ut_ListList, and ut_binaryFileFormat
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 $@ $^