diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 07:47:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 07:51:14 +0000 |
commit | dc41f45a9d4512970e7ef62669b64ee0e20add10 (patch) | |
tree | c54df82c82cdadc09ad7ed1ca0a34ca8c43c2b47 /Makefile | |
download | lua-openrc-dc41f45a9d4512970e7ef62669b64ee0e20add10.tar.bz2 lua-openrc-dc41f45a9d4512970e7ef62669b64ee0e20add10.tar.xz |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ffa6753 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ + +OBJS = rc.o +LIBS = -lrc + +DEBUGFLAGS = -g -Wall -Werror +CFLAGS += $(DEBUGFLAGS) + +LDFLAGS += -L/lib + +all: rc.so + + +rc.so: $(OBJS) + $(CC) $(LDFLAGS) -o $@ -fPIC -shared $^ $(LIBS) + +clean: + rm -f rc.so $(OBJS) |