diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2024-05-16 14:03:57 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2024-05-16 14:03:57 -0700 |
commit | 54c09d54c0c170f1369751f8bf5a8a0b771a167c (patch) | |
tree | e73ab0e8b25602f8c7233ea7794020224fae92aa /Makefile | |
parent | 940716fa2fa134a75d2ef34b41991c1c1c14735a (diff) |
reorganize
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,12 +2,13 @@ CFLAGS += -g CFLAGS += -O3 +CFLAGS += -I./magic_buddy # CFLAGS += -fsanitize=address -all: build/magic +all: build/examples/main -build/magic: main.c magic_buddy.c - @ mkdir -p build +build/examples/%: examples/%.c magic_buddy/magic_buddy.c + @ mkdir -p $(dir $@) $(CC) $(CFLAGS) $^ -o $@ clean: |