Add test binary for static link
This commit is contained in:
parent
701b850af9
commit
78647863a5
|
@ -47,6 +47,7 @@ $(BINARY): $(OBJS)
|
|||
|
||||
%$(BIN_EXT): %.o
|
||||
${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall -l$(LIBNAME) -o $@
|
||||
${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall ../lib$(LIBNAME).a -o $@.static
|
||||
|
||||
%.o: %.c
|
||||
${CC} ${CFLAGS} -c $< -o $@
|
||||
|
|
Loading…
Reference in New Issue