mirror of
https://git.planet-casio.com/Lephenixnoir/libprof.git
synced 2024-12-26 19:43:41 +01:00
use the target's archiver to create the library
This commit is contained in:
parent
0566fad0c5
commit
e4cedf72a9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in a new issue