From f691f669cb4073e7e5b6b81102fdb68cfaf74390 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 23 Sep 2020 13:11:06 -0400 Subject: added new tool patch_strtab for postprocessing of .o file, but needs more debugging --- tools/patch_strtab/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tools/patch_strtab/Makefile (limited to 'tools/patch_strtab/Makefile') 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 $@ $^ -- cgit v1.2.3