diff --git a/JGE/Makefile b/JGE/Makefile index 197ce8f15..10cf32a82 100644 --- a/JGE/Makefile +++ b/JGE/Makefile @@ -121,7 +121,6 @@ clean: endif Makefile.linux: - g++ -o /dev/null src/testfeatures.c -L$(LIBDIR) -lfmod-3.75 - @if [ "0" = "$$?" ]; then echo 'FMOD=-DWITH_FMOD'; else echo 'FMOD=-DWITHOUT_FMOD'; fi > $@ + g++ -o /dev/null src/testfeatures.c -L$(LIBDIR) -lfmod-3.75 > /dev/null 2>&1 ; if [ "0" = "$$?" ]; then echo 'FMOD=-DWITH_FMOD'; else echo 'FMOD=-DWITHOUT_FMOD'; fi > $@ -include Makefile.$(TARGET_ARCHITECTURE) diff --git a/JGE/src/testfeatures.c b/JGE/src/testfeatures.c index 237c8ce18..88fcc3c39 100644 --- a/JGE/src/testfeatures.c +++ b/JGE/src/testfeatures.c @@ -1 +1,2 @@ -int main() {} +void FSOUND_Close(); +int main() { FSOUND_Close(); } diff --git a/projects/mtg/Makefile b/projects/mtg/Makefile index 4a73c4798..a4db9e254 100644 --- a/projects/mtg/Makefile +++ b/projects/mtg/Makefile @@ -99,8 +99,7 @@ Makefile.psp: echo > Makefile.psp Makefile.linux: - g++ -o /dev/null src/testfeatures.c $(LIBDIR) -lfmod-3.75 - @if [ "0" = "$$?" ]; then echo 'FMOD=-lfmod-3.75'; else echo 'FMOD='; fi > $@ + g++ -o /dev/null src/testfeatures.c $(LIBDIR) -lfmod-3.75 > /dev/null 2>&1 ; if [ "0" = "$$?" ]; then echo 'FMOD=-lfmod-3.75'; else echo 'FMOD='; fi > $@ -include $(DEPS) -include Makefile.$(TARGET_ARCHITECTURE) diff --git a/projects/mtg/src/testfeatures.c b/projects/mtg/src/testfeatures.c index 237c8ce18..88fcc3c39 100644 --- a/projects/mtg/src/testfeatures.c +++ b/projects/mtg/src/testfeatures.c @@ -1 +1,2 @@ -int main() {} +void FSOUND_Close(); +int main() { FSOUND_Close(); }