mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: split additional libs into LIBS_FX and LIBS_CG
This is because several libraries have separate binaries, and so are linked with different command-line arguments, just like gint is linked with -lgint-fx on one side and -lgint-cg on the other.
This commit is contained in:
parent
eeeb0fa6b1
commit
b86b96aa4a
1 changed files with 4 additions and 3 deletions
|
@ -191,11 +191,12 @@ INCLUDE := -I include
|
||||||
# Libraries. Add one -l option for each library you are using, and also
|
# Libraries. Add one -l option for each library you are using, and also
|
||||||
# suitable -L options if you have library files in custom folders. To use
|
# suitable -L options if you have library files in custom folders. To use
|
||||||
# fxlib, add libfx.a to the project directory and use "-L . -lfx".
|
# fxlib, add libfx.a to the project directory and use "-L . -lfx".
|
||||||
LIBS :=
|
LIBS_FX :=
|
||||||
|
LIBS_CG :=
|
||||||
|
|
||||||
# Base linker flags for the fxSDK, you usually want to keep these.
|
# Base linker flags for the fxSDK, you usually want to keep these.
|
||||||
LDFLAGS_FX := -T fx9860g.ld -lgint-fx \$(LIBS) -lgint-fx -lgcc
|
LDFLAGS_FX := -T fx9860g.ld -lgint-fx \$(LIBS_FX) -lgint-fx -lgcc
|
||||||
LDFLAGS_CG := -T fxcg50.ld -lgint-cg \$(LIBS) -lgint-cg -lgcc
|
LDFLAGS_CG := -T fxcg50.ld -lgint-cg \$(LIBS_CG) -lgint-cg -lgcc
|
||||||
|
|
||||||
# Additional linker flags, if you need any.
|
# Additional linker flags, if you need any.
|
||||||
LDFLAGS :=
|
LDFLAGS :=
|
||||||
|
|
Loading…
Reference in a new issue