aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-19 19:40:16 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-19 19:40:16 +0200
commitf538061c22749c2852283eaa2e2f83c8b126b8ed (patch)
tree7965068f5522df8db3f2af1ce6f31a07211694e7 /Makefile
parentb8cc2491d8d2f239df29a6f85ad8b21e0221e8d1 (diff)
downloadmatcha-threads-f538061c22749c2852283eaa2e2f83c8b126b8ed.tar.gz
matcha-threads-f538061c22749c2852283eaa2e2f83c8b126b8ed.zip
added asflags
Diffstat (limited to 'Makefile')
-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 {}