about summary refs log tree commit diff stats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:17 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:42 -0800
commit3b44b9827d5e9c6554c5600c45d832d4e6eb50f8 (patch)
treee2fc984be141e2e4fa18fceae6c73814d23c5646 /src/Makefile
parentf7ab5dd291f302c0fb97a2be0a11a06ed2bb6661 (diff)
downloadteliva-3b44b9827d5e9c6554c5600c45d832d4e6eb50f8.tar.gz
basic http requests starting to work
In the process we're starting to load almost all of luasocket by
default. And everything is working as expected, no unpleasant surprises.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 2b3326d..691c57e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -53,13 +53,13 @@ $(LUA_A): $(CORE_O) $(LIB_O)
 	$(AR) $@ $(CORE_O) $(LIB_O)
 	$(RANLIB) $@
 
-$(LUA_T): $(LUA_O) $(LUA_A) luasocket/socket.a
-	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a $(LIBS)
+$(LUA_T): $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a
+	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a $(LIBS)
 
 $(LUAC_T): $(LUAC_O) $(LUA_A)
 	$(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
 
-luasocket/socket.a:
+luasocket/socket.a luasocket/mime.a:
 	make -C luasocket linux
 
 clean:
@@ -122,7 +122,7 @@ solaris:
 	$(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl"
 
 # list targets that do not create files (but not all makes understand .PHONY)
-.PHONY: all $(PLATS) default o a clean depend echo none luasocket/socket.a
+.PHONY: all $(PLATS) default o a clean depend echo none luasocket/socket.a luasocket/mime.a
 
 # DO NOT DELETE