Skip to content

Commit

Permalink
Update compilation code for linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartdoekemeijer authored and Bartdoekemeijer committed Oct 18, 2017
1 parent 9d11f50 commit 096c996
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Scripts/compileDISCON.bash

This file was deleted.

15 changes: 15 additions & 0 deletions Scripts/compileDISCON_linux.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Cd to correct directory
cd ../Source

# Set options to 64 bits
sed -i '13s/.*/#BITS = 32/' makefile
sed -i '14s/.*/BITS = 64/' makefile

# Build code
rm -f ../DISCON/DISCON_glin64.so
make clean
make all
echo 'The output file is: "../DISCON/DISCON_glin64.so".'

# Return to initial directory
cd ../Scripts

0 comments on commit 096c996

Please sign in to comment.