A working test

This commit is contained in:
madsenco committed 2012-03-12 08:46:58 +01:00
1 parent 3dd80622f4
commit 89022a9faa
4 files changed
+106 -11

No files matched your search

+2 -1
View File
@@ -22,6 +22,7 @@ lua: luauevent.so
libuevent.a: libuevent.o
$(AR) r $@ $^
$(CROSS_COMPILE)strip --strip-unneeded $@
libuevent.so.$(MAJOR): libuevent.o
$(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname=libuevent
@@ -30,7 +31,7 @@ luauevent.so: luauevent.o all
$(CC) $(LDFLAGS) -shared -o $@ $^ -L . -l uevent -Wl,-soname=uevent
test: all
$(CC) -o test test.c && test
$(CC) -g -o test -D NO_DEBUG test.c libuevent.c && ./test
luatest: lua
lua test.lua