Fix MacOSX makefile
CPPFLAGS:=-I./lua/src
CFLAGS:=--std=c99 -g -Wall -O2 -fPIC
-.PHONY: default clean linux-readline lua-linux-readline macos lua-macos
+.PHONY: default clean linux-readline lua-linux-readline macosx lua-macosx
default:
@echo "Please do 'make PLATFORM' where PLATFORM is one of these:"
- @echo " linux-readline linux-noreadline macos"
+ @echo " linux-readline linux-noreadline macosx"
clean:
cd lua/src && $(MAKE) clean
@@ -13,7 +13,7 @@ clean:
linux-readline: runtime/titanlib.a lua-linux-readline
linux-noreadline: runtime/titanlib.a lua-linux-noreadline
-macos: runtime/titanlib.a lua-macos
+macosx: runtime/titanlib.a lua-macosx
lua-linux-readline:
cd lua/src && $(MAKE) linux-readline
@@ -21,8 +21,8 @@ lua-linux-readline:
lua-linux-noreadline:
cd lua/src && $(MAKE) linux-noreadline
-lua-macos:
- cd lua/src && $(MAKE) macos
+lua-macosx:
+ cd lua/src && $(MAKE) macosx
runtime/tcore.o: runtime/tcore.c runtime/tcore.h
