diff options
author | Diego Nehab <diego@fresnel.local> | 2012-08-01 02:13:27 -0300 |
---|---|---|
committer | Diego Nehab <diego@fresnel.local> | 2012-08-01 02:13:27 -0300 |
commit | 54ffcd483f8357f7916225ab775f1773452bfe42 (patch) | |
tree | 06bc263c010966b6ad1be32ea5a30dcf3a068fdd | |
parent | 6370b61414e33564539933df9a79f332d3b2cf58 (diff) | |
download | luasocket-54ffcd483f8357f7916225ab775f1773452bfe42.tar.gz luasocket-54ffcd483f8357f7916225ab775f1773452bfe42.tar.bz2 luasocket-54ffcd483f8357f7916225ab775f1773452bfe42.zip |
Fixed default Linux path to work with Ubuntu
Also fixed clean target to remove serial objects
-rw-r--r-- | src/makefile | 4 |
1 files 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/ | |||
40 | # /usr/local/include/lua$(LUAV) | 40 | # /usr/local/include/lua$(LUAV) |
41 | # where lua headers are found for linux builds | 41 | # where lua headers are found for linux builds |
42 | LUAINC_linux_base?=/usr/include | 42 | LUAINC_linux_base?=/usr/include |
43 | LUAINC_linux?=$(LUAINC_linux_base)$(LUAV) | 43 | LUAINC_linux?=$(LUAINC_linux_base)/lua$(LUAV) |
44 | LUAPREFIX_linux?=/usr/local | 44 | LUAPREFIX_linux?=/usr/local |
45 | 45 | ||
46 | # LUAINC_win32: | 46 | # LUAINC_win32: |
@@ -289,7 +289,7 @@ local: | |||
289 | $(MAKE) install INSTALL_TOP_LIB=.. INSTALL_TOP_SHARE=.. | 289 | $(MAKE) install INSTALL_TOP_LIB=.. INSTALL_TOP_SHARE=.. |
290 | 290 | ||
291 | clean: | 291 | clean: |
292 | rm -f $(SOCKET_SO) $(SOCKET_OBJS) | 292 | rm -f $(SOCKET_SO) $(SOCKET_OBJS) $(SERIAL_OBJS) |
293 | rm -f $(MIME_SO) $(UNIX_SO) $(SERIAL_SO) $(MIME_OBJS) $(UNIX_OBJS) | 293 | rm -f $(MIME_SO) $(UNIX_SO) $(SERIAL_SO) $(MIME_OBJS) $(UNIX_OBJS) |
294 | 294 | ||
295 | .PHONY: all $(PLATS) default clean echo none | 295 | .PHONY: all $(PLATS) default clean echo none |