2
0
Fork 0
OPL/dro2midi/make

22 lines
321 B
Text
Raw Permalink Normal View History

2013-11-14 12:08:45 +00:00
#!/bin/sh
# Usage:
#
# ./make
#
# or if you have a cross compiler for i586-pc-mingw32 installed
#
# ./make i586-pc-mingw32 .exe
#
if [ "$1" != "" ]; then
PLATFORM="$1"-
TARGET="dro2midi$2"
else
PLATFORM=""
TARGET="dro2midi"
fi
${PLATFORM}g++ -o ${TARGET} dro2midi.cpp midiio.cpp &&
${PLATFORM}strip ${TARGET}