diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-29 21:06:42 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-29 21:34:54 +0200 |
commit | 5320e372ad25ba89f8c8f297066521f01e2e7a17 (patch) | |
tree | ec01da88daf65c714a7048e6dcb709152f7921de /Makefile | |
parent | 568f59d5efbd10fb9178a623b873bdddd4c01672 (diff) | |
download | nlplug-5320e372ad25ba89f8c8f297066521f01e2e7a17.tar.bz2 nlplug-5320e372ad25ba89f8c8f297066521f01e2e7a17.tar.xz |
Add initial implementation of nlplug
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,9 +1,22 @@ +CFLAGS ?= -Wall -Werror -g +CFLAGS += -D_GNU_SOURCE nlsockd_SRCS = nlsockd.c nlsockd_OBJS = $(nlsockd_SRCS:%.c=%.o) +nlplug_SRCS = nlplug.c +nlplug_OBJS = $(nlplug_SRCS:%.c=%.o) + +all: nlsockd nlplug + nlsockd: $(nlsockd_OBJS) - echo $^ + +nlplug: $(nlplug_OBJS) + + +nlsockd nlplug: $(CC) -o $@ $(CFLAGS) $($@_CFLAGS) $($@_OBJS) $(LDFLAGS) $($@_LDFLAGS) +clean: + rm -f nlplug nlsockd |