From 1cfb4eb2814fc2bc8c8fb6bfa9d664d1acf51d8c Mon Sep 17 00:00:00 2001 From: Michaelangel007 Date: Sun, 28 Dec 2014 10:10:59 -0800 Subject: [PATCH] Add OSX makefile --- makefile.osx | 12 ++++++++++++ test.sh | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 makefile.osx create mode 100755 test.sh diff --git a/makefile.osx b/makefile.osx new file mode 100644 index 0000000..c41de95 --- /dev/null +++ b/makefile.osx @@ -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 $@ + diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..aaf42f4 --- /dev/null +++ b/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh +bin/hgr2rgb.x hgr/archon.hgr2 +