sysklogd/example/example.mk
Joachim Nilsson 225d8da17f Add stand-alone example program w/ Makefile and README
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-05 08:32:43 +01:00

11 lines
223 B
Makefile

# 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)