build: Honor LIBS variable
This commit is contained in:
parent
025792e994
commit
58ef3bd8a9
@ -60,6 +60,8 @@ CFLAGS ?= @CFLAGS@
|
|||||||
export CFLAGS
|
export CFLAGS
|
||||||
LDFLAGS ?= @LDFLAGS@
|
LDFLAGS ?= @LDFLAGS@
|
||||||
export LDFLAGS
|
export LDFLAGS
|
||||||
|
LIBS ?= @LIBS@
|
||||||
|
export LIBS
|
||||||
|
|
||||||
CROSS_CFLAGS ?= @CROSS_CFLAGS@
|
CROSS_CFLAGS ?= @CROSS_CFLAGS@
|
||||||
export CROSS_CFLAGS
|
export CROSS_CFLAGS
|
||||||
|
@ -39,7 +39,7 @@ clean:
|
|||||||
rm -f limine-version limine-version.exe
|
rm -f limine-version limine-version.exe
|
||||||
|
|
||||||
limine-deploy: limine-deploy.c
|
limine-deploy: limine-deploy.c
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -std=c99 -D__USE_MINGW_ANSI_STDIO limine-deploy.c -o $@
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -std=c99 -D__USE_MINGW_ANSI_STDIO limine-deploy.c $(LIBS) -o $@
|
||||||
|
|
||||||
limine-version: limine-version.c
|
limine-version: limine-version.c
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -std=c99 -D__USE_MINGW_ANSI_STDIO limine-version.c -o $@
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -std=c99 -D__USE_MINGW_ANSI_STDIO limine-version.c $(LIBS) -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user