diff options
author | s-over-4 | 2023-06-21 16:34:22 -0400 |
---|---|---|
committer | s-over-4 | 2023-06-21 16:34:22 -0400 |
commit | 46f4397bf0718fbaf2cee5b4ffd56d4a36f2c4d8 (patch) | |
tree | 9e582eef34f67fd47117445e22a316e6c855ad5d /Makefile | |
parent | 069204d6151326acc77bfd1f9072bd19882b948a (diff) |
NO MORE MEMORY LEAKS :D
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,13 +1,11 @@ -.PHONY: install uninstall clean me a sandwich dev - +.PHONY: install uninstall dev clean test me a sandwich name := halk -cc := cc +cc := gcc flags := -s -devflags := -g +devflags := -ggdb -fsanitize=leak -fno-omit-frame-pointer sources := $(wildcard src/*.c) sources := $(filter-out src/parser.c, $(sources)) # exclude the incomplete parser for now. objects := $(sources:.c=.o) -tests := tests $(name): $(objects) $(cc) $(objects) $(flags) -o ./$(name).out @@ -28,9 +26,6 @@ uninstall: clean: rm -f ./$(name).out ./src/*.o -test: - @$(foreach file, $(wildcard $(tests)/*.test.sh), $(file);) - # fun me: @[ "$(USER)" = "root" ] && echo "Okay." || echo "What? Make it yourself." |