#!/bin/bash
#MK Script
#Written by Gabor de Mooij
#Decides which makefile to use
OS=$(uname -s)
if [[ $OS = "OpenBSD" ]];then
	echo "using OpenBSD Makefile."
	make -f makefile.openbsd
else
	echo "using Linux Makefile."
	make -f makefile
fi

#Clear object files
rm *.o

#!/bin/bash
#MK Script
#Written by Gabor de Mooij
#Decides which makefile to use
OS=$(uname -s)
if [[ $OS = "OpenBSD" ]];then
	echo "using OpenBSD Makefile."
	make -f makefile.openbsd
elif [[ $OS = "Darwin" ]];then
        echo "using Mac OS X Makefile."
        make -f makefile.macosx
else
	echo "using Linux Makefile."
	make -f makefile
fi

#Clear object files
rm *.o

--- 
+++ 
@@ -6,6 +6,9 @@
 if [[ $OS = "OpenBSD" ]];then
 	echo "using OpenBSD Makefile."
 	make -f makefile.openbsd
+elif [[ $OS = "Darwin" ]];then
+        echo "using Mac OS X Makefile."
+        make -f makefile.macosx
 else
 	echo "using Linux Makefile."
 	make -f makefile
Revert "Mac OS X option"

This reverts commit 69af8d5adb3795c5bfad8349b9e0b2b00611aa30.
