about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 29bdb79..4c36573 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -54,8 +54,8 @@ $(LUA_T): $(LUA_O) $(LUA_A)
 	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a luasec/ssl.a $(LIBS)
 
 clean:
-	make -C luasocket clean
-	make -C luasec clean
+	$(MAKE) -C luasocket clean
+	$(MAKE) -C luasec clean
 	$(RM) $(ALL_T) $(ALL_O)
 
 depend:
@@ -94,13 +94,13 @@ generic:
 	$(MAKE) all MYCFLAGS=
 
 linux:
-	make -C luasocket linux
-	make -C luasec linux
+	$(MAKE) -C luasocket linux
+	$(MAKE) -C luasec linux
 	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lncursesw"
 
 macosx:
-	make -C luasocket macosx
-	make -C luasec macosx
+	$(MAKE) -C luasocket macosx
+	$(MAKE) -C luasec macosx
 	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lncurses"
 # use this on Mac OS X 10.3-
 #	$(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX