diff options
| author | Max <mparisi@stevens.edu> | 2020-09-23 13:11:06 -0400 |
|---|---|---|
| committer | Max <mparisi@stevens.edu> | 2020-09-23 13:11:06 -0400 |
| commit | f691f669cb4073e7e5b6b81102fdb68cfaf74390 (patch) | |
| tree | 325b5d69a65a5d4a79d94bd4734b9dd9444dcaf8 /tools/patch_strtab/Makefile | |
| parent | 0acf44f0b91fa912101901d292552bae55f2fa93 (diff) | |
added new tool patch_strtab for postprocessing of .o file, but needs more debugging
Diffstat (limited to 'tools/patch_strtab/Makefile')
| -rw-r--r-- | tools/patch_strtab/Makefile | 20 |
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 $@ $^
|
