mirror of
https://git.planet-casio.com/Lephenixnoir/libprof.git
synced 2024-12-28 04:23: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)
|
all: $(lib)
|
||||||
|
|
||||||
$(lib): $(obj)
|
$(lib): $(obj)
|
||||||
ar rcs $@ $^
|
$(target)-ar rcs $@ $^
|
||||||
|
|
||||||
build/%.c.o: %.c | build/
|
build/%.c.o: %.c | build/
|
||||||
$(target)-gcc -c $< -o $@ $(cflags)
|
$(target)-gcc -c $< -o $@ $(cflags)
|
||||||
|
|
Loading…
Reference in a new issue