diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-09-02 15:21:56 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-09-02 15:21:56 +0100 |
commit | 2d33640c037c9f3bcbddc200eec39bb713ca0c9f (patch) | |
tree | e23a1f2ac92959a6429d1cd8b5ff130da6074da9 /Makefile | |
download | obf-2d33640c037c9f3bcbddc200eec39bb713ca0c9f.tar.gz obf-2d33640c037c9f3bcbddc200eec39bb713ca0c9f.tar.bz2 obf-2d33640c037c9f3bcbddc200eec39bb713ca0c9f.zip |
INIT
Simple parser, took like an hour.
Not very smart but at least it's like O(n).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cfd0ecb --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CC=gcc +CFLAGS=-Wall -Wextra -Wpedantic -ggdb -fsanitize=address -std=c11 +LIBS= +OBJECTS=main.o +OUT=obf.out +ARGS= + +%.o: %.c + $(CC) $(CFLAGS) -c $^ -o $@ $(LIBS) + +$(OUT): $(OBJECTS) + $(CC) $(CFLAGS) $^ -o $@ $(LIBS) + +.PHONY: +clean: + rm -rfv $(OUT) $(OBJECTS) + +.PHONY: run +run: $(OUT) + ./$^ $(ARGS) |