diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 13:07:33 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 13:07:33 +0000 |
commit | 7bc1f5ba6b2055303264881afda118fd57b95963 (patch) | |
tree | 5d6b13bf36ee651b23447dabd6513662a50f66bb /code/unix/Conscript-dedicated | |
parent | 4574351ba3c210a6a36ecc472a7ecc7e159bbde0 (diff) | |
download | ioquake3-aero-7bc1f5ba6b2055303264881afda118fd57b95963.tar.gz ioquake3-aero-7bc1f5ba6b2055303264881afda118fd57b95963.zip |
try to fix build using cons
git-svn-id: svn://svn.icculus.org/quake3/trunk@20 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Conscript-dedicated')
-rwxr-xr-x | code/unix/Conscript-dedicated | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/code/unix/Conscript-dedicated b/code/unix/Conscript-dedicated index 0c64f23..56bcec3 100755 --- a/code/unix/Conscript-dedicated +++ b/code/unix/Conscript-dedicated @@ -109,7 +109,26 @@ $env = new cons( ); $FILESREF = \@FILES; +if ($cpu eq 'i386') +{ + push @FILES, qw( + ../qcommon/vm_x86.c + ); +} +elsif ($cpu eq 'ppc') +{ + push @FILES, qw( + ../qcommon/vm_ppc.c + ); +} +else +{ + push @FILES, qw( + ../qcommon/vm_none.c + ); +} + # DEDICATED_NAME is imported, holds the name of the target # wolfded.x86 usually -Program $env $DEDICATED_NAME, '../qcommon/vm_x86.c', @$FILESREF; +Program $env $DEDICATED_NAME, @$FILESREF; Install $env $INSTALL_DIR, $DEDICATED_NAME; |