Add stand-alone example program w/ Makefile and README
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
10
example/example.mk
Normal file
10
example/example.mk
Normal file
@ -0,0 +1,10 @@
|
||||
# Simple Makefile for syslogp() example application
|
||||
#
|
||||
EXEC := example
|
||||
OBJS := example.o
|
||||
CFLAGS := `pkg-config --cflags libsyslog`
|
||||
LDLIBS := `pkg-config --libs --static libsyslog`
|
||||
|
||||
all: $(EXEC)
|
||||
|
||||
$(EXEC): $(OBJS)
|
Reference in New Issue
Block a user