Add OSX makefile

This commit is contained in:
Michaelangel007 2014-12-28 10:10:59 -08:00
parent eb17b07d70
commit 1cfb4eb281
2 changed files with 15 additions and 0 deletions

12
makefile.osx Normal file
View File

@ -0,0 +1,12 @@
TARGET=bin/hgr2rgb.x
all: $(TARGET)
C_FLAGS=-Wall -Wextra -Isrc
clean:
rm $(TARGET)
bin/hgr2rgb.x: src/main.cpp src/wsvideo.cpp src/wsvideo.h
g++ -g $(C_FLAGS) $< -o $@

3
test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
bin/hgr2rgb.x hgr/archon.hgr2