diff options
author | Christian Pointner <equinox@spreadspace.org> | 2011-03-05 19:11:20 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2011-03-05 19:11:20 +0000 |
commit | b387243639c4294c00bfd51f6d8187653d6a032d (patch) | |
tree | e86da246c46842eb1be9c3f3a1ba966167b1104a /Makefile | |
parent | added svn default dirs (diff) |
initial checkin
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..31ff59c --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CONFIG= ./config + +include $(CONFIG) + +OBJS= src/luamq.o +SRCS= src/luamq.h src/luamq.c +AR= ar rcu +RANLIB= ranlib + +lib: src/$(LIBNAME) + +src/$(LIBNAME): $(OBJS) + $(CC) $(CFLAGS) -o $@ $(LIB_OPTION) $(OBJS) + +install: + mkdir -p $(LUA_LIBDIR) + cp src/$(LIBNAME) $(LUA_LIBDIR)/ + +clean: + rm -f src/$(LIBNAME) src/*.o |