J :
* Fix the way features are tested.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
int main() {}
|
||||
void FSOUND_Close();
|
||||
int main() { FSOUND_Close(); }
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
int main() {}
|
||||
void FSOUND_Close();
|
||||
int main() { FSOUND_Close(); }
|
||||
|
||||
Reference in New Issue
Block a user