From f538061c22749c2852283eaa2e2f83c8b126b8ed Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 19 Sep 2020 19:40:16 +0200 Subject: added asflags --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 {} -- cgit v1.2.3