* Fix the way features are tested.
This commit is contained in:
jean.chalard
2010-02-02 09:38:22 +00:00
parent 64260f5787
commit 2163bdbec5
4 changed files with 6 additions and 6 deletions

View File

@@ -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)

View File

@@ -1 +1,2 @@
int main() {}
void FSOUND_Close();
int main() { FSOUND_Close(); }

View File

@@ -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)

View File

@@ -1 +1,2 @@
int main() {}
void FSOUND_Close();
int main() { FSOUND_Close(); }