summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anylike.org>2009-12-27 06:05:36 +0000
committerChristian Pointner <equinox@anylike.org>2009-12-27 06:05:36 +0000
commit854d164b98905c218d8e50baa6a913bc10569f46 (patch)
treee5ca9d8be6621df75f1f427119c701a0a6b3971e /src/Makefile
parentadded lua detection to configure (diff)
moved echo server to seperate file
fixed lua multi file build
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 7b86972..c32fbbe 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -42,7 +42,8 @@ C_OBJS := log.o \
C_SRCS := $(C_OBJS:%.o=%.c)
-LUA_SRCS := main_loop.lua
+LUA_SRCS := main_loop.lua \
+ echo_server.lua
.PHONY: clean cleanall distclean manpage install install-bin install-etc install-man uninstall remove purge
@@ -65,7 +66,7 @@ $(EXECUTABLE): $(C_OBJS)
$(CC) $(CFLAGS) -c $<
$(LUA_OBJ): $(LUA_SRCS)
- $(LUAC) -o $@ $<
+ $(LUAC) -o $@ $(LUA_SRCS)
strip: $(EXECUTABLE) $(LUA_OBJ)
$(STRIP) -s $(EXECUTABLE)