diff --git a/README.md b/README.md index b902a12..750581d 100644 --- a/README.md +++ b/README.md @@ -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 =========== diff --git a/makefile.osx b/makefile similarity index 100% rename from makefile.osx rename to makefile diff --git a/test.sh b/test.sh index a8c7b76..487c233 100755 --- a/test.sh +++ b/test.sh @@ -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