Updated makefile and readme for OSX and Linux

This commit is contained in:
Michaelangel007 2014-12-29 14:55:34 -08:00
parent dfd2fcd99b
commit 3e9afd8d15
3 changed files with 14 additions and 4 deletions

View File

@ -6,6 +6,10 @@ Apple HGR to RGB NTSC
Usage:
======
* Win32: `bin/hgr2rgb.exe`
* OSX : `bin/hgr2rgb.osx`
* Linux: `bin/hgr2rgb.elf`
`bin/hgr2rgb.exe [-bmp | -tga] filename`
-tga Output to .tga (default)
@ -20,8 +24,8 @@ Compiling
=========
* Win32: MSVC2010.sln
* OSX: `make -f makefile.osx`
* OSX: `make`
* Linux: `make`
Screenshots
===========

10
test.sh
View File

@ -1,5 +1,11 @@
#!/bin/sh
bin/hgr2rgb.x -tga hgr/archon.hgr2
bin/hgr2rgb.x -bmp hgr/archon.hgr2
UNAME=`uname -s`
if [ ${UNAME} == "Darwin" ]; then
APP=bin/hgr2rgb.osx
elif [ ${UNAME} == "Linux" ]; then
APP=bin/hgr2rgb.elf
fi
${APP} -tga hgr/archon.hgr2
${APP} -bmp hgr/archon.hgr2