mirror of
https://github.com/Michaelangel007/hgr2rgbntsc.git
synced 2024-12-21 18:29:38 +00:00
Updated makefile and readme for OSX and Linux
This commit is contained in:
parent
dfd2fcd99b
commit
3e9afd8d15
@ -6,6 +6,10 @@ Apple HGR to RGB NTSC
|
|||||||
Usage:
|
Usage:
|
||||||
======
|
======
|
||||||
|
|
||||||
|
* Win32: `bin/hgr2rgb.exe`
|
||||||
|
* OSX : `bin/hgr2rgb.osx`
|
||||||
|
* Linux: `bin/hgr2rgb.elf`
|
||||||
|
|
||||||
`bin/hgr2rgb.exe [-bmp | -tga] filename`
|
`bin/hgr2rgb.exe [-bmp | -tga] filename`
|
||||||
|
|
||||||
-tga Output to .tga (default)
|
-tga Output to .tga (default)
|
||||||
@ -20,8 +24,8 @@ Compiling
|
|||||||
=========
|
=========
|
||||||
|
|
||||||
* Win32: MSVC2010.sln
|
* Win32: MSVC2010.sln
|
||||||
|
* OSX: `make`
|
||||||
* OSX: `make -f makefile.osx`
|
* Linux: `make`
|
||||||
|
|
||||||
Screenshots
|
Screenshots
|
||||||
===========
|
===========
|
||||||
|
10
test.sh
10
test.sh
@ -1,5 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
bin/hgr2rgb.x -tga hgr/archon.hgr2
|
UNAME=`uname -s`
|
||||||
bin/hgr2rgb.x -bmp hgr/archon.hgr2
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user