aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 67dfdc5..eb688d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
AS := gcc
+ASFLAGS := -g -O0
CXX := g++
CXXFLAGS := -g -O0 -Wall -Wextra -I.
AR := ar
@@ -10,7 +11,7 @@ lib/libmatcha.a: lib/matcha.o lib/thread_create.o lib/matcha.h
$(CXX) -c -o $@ $^ $(CXXFLAGS)
%.o: %.s
- $(AS) -c -o $@ $^
+ $(AS) -c -o $@ $^ $(ASFLAGS)
fmt:
fd --type f '.+.h$$|.+.cc$$' --exec clang-format -i {}