From 54ffcd483f8357f7916225ab775f1773452bfe42 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Wed, 1 Aug 2012 02:13:27 -0300 Subject: [PATCH] Fixed default Linux path to work with Ubuntu Also fixed clean target to remove serial objects --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index 9213714..1363bc0 100644 --- a/src/makefile +++ b/src/makefile @@ -40,7 +40,7 @@ LUAPREFIX_macosx?=/opt/local/ # /usr/local/include/lua$(LUAV) # where lua headers are found for linux builds LUAINC_linux_base?=/usr/include -LUAINC_linux?=$(LUAINC_linux_base)$(LUAV) +LUAINC_linux?=$(LUAINC_linux_base)/lua$(LUAV) LUAPREFIX_linux?=/usr/local # LUAINC_win32: @@ -289,7 +289,7 @@ local: $(MAKE) install INSTALL_TOP_LIB=.. INSTALL_TOP_SHARE=.. clean: - rm -f $(SOCKET_SO) $(SOCKET_OBJS) + rm -f $(SOCKET_SO) $(SOCKET_OBJS) $(SERIAL_OBJS) rm -f $(MIME_SO) $(UNIX_SO) $(SERIAL_SO) $(MIME_OBJS) $(UNIX_OBJS) .PHONY: all $(PLATS) default clean echo none