diff --git a/Makefile b/Makefile index 1ea5803..1cd0af7 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ obj := $(src:%=build/%.o) all: $(lib) $(lib): $(obj) - ar rcs $@ $^ + $(target)-ar rcs $@ $^ build/%.c.o: %.c | build/ $(target)-gcc -c $< -o $@ $(cflags)