mirror of
https://github.com/Michaelangel007/hgr2rgbntsc.git
synced 2024-10-09 13:56:53 +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:
|
||||
======
|
||||
|
||||
* 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
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user