diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | rc.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,9 +1,12 @@ +VERSION = 0.1 + OBJS = rc.o LIBS = -lrc DEBUGFLAGS = -g -Wall -Werror CFLAGS += $(DEBUGFLAGS) +CFLAGS += -DVERSION=\"$(VERSION)\" LDFLAGS += -L/lib @@ -9,7 +9,7 @@ #define MYNAME "rc" -#define MYVERSION "OpenRC library for " LUA_VERSION " / Jan 2010" +#define MYVERSION "OpenRC library for " LUA_VERSION " version " VERSION /* convert RC_STRINGLIST to a lua table on the stack */ static int push_stringlist(lua_State *L, RC_STRINGLIST *list) |