diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-15 22:03:08 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-15 22:03:08 +0100 |
commit | 4ec833f0356b16149f3005d2d8500d3444b938ed (patch) | |
tree | df73d46e330f2f1d11ceb4dfcfc49756696c4381 /bin/Makefile | |
parent | 1a06e70761a42bcb555fc64b601799ebc96327cb (diff) | |
download | privsep-4ec833f0356b16149f3005d2d8500d3444b938ed.tar.bz2 privsep-4ec833f0356b16149f3005d2d8500d3444b938ed.tar.xz |
move c code to bin/
Diffstat (limited to 'bin/Makefile')
-rw-r--r-- | bin/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile new file mode 100644 index 0000000..e0e03cb --- /dev/null +++ b/bin/Makefile @@ -0,0 +1,16 @@ + +COMPILE_PROG = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $($@_objs) $($@_libs) + + +PKGCONF ?= pkg-config + +LUA_PKG ?= lua +LUA_CFLAGS := $(shell $(PKGCONF) --cflags $(LUA_PKG)) +LUA_LIBS := $(shell $(PKGCONF) --libs $(LUA_PKG)) + +lua-privsep_objs = lua-privsep.o +lua-privsep_libs = $(LUA_LIBS) + +lua-privsep: $(lua-privsep_objs) + $(COMPILE_PROG) + |