commit a5947ec672fc0cd63053660387b0a9ec5eb5e3af
parent 748f041829a19378947615a712e6453c38fb9ab4
Author: Yersa Nordman <finwo@pm.me>
Date: Sat, 12 Oct 2019 11:50:35 +0200
Separation didn't work so well
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -7,12 +7,9 @@ OBJ=$(SRC:.c=.o)
libmatter.a: $(OBJ)
ar -cvq libmatter.a $(OBJ)
-%.ll: %.c
+%.o: %.c
clang -Os $(CFLAGS) --target=$(TARGET) -nostdinc -fno-builtin -Iinclude -c $< -o $@
-%.o: %.ll
- llc -march=$(TARGET) -filetype=obj -O3 $<
-
.PHONY: clean
clean:
rm -f $(shell find -L . -type f -name *.o)