Annotation of embedaddon/miniupnpd/miniupnpc-libuv/Makefile, revision 1.1.1.1
1.1 misho 1: # tested with GNU Make
2: PKG_CONFIG ?= pkg-config
3:
4: CFLAGS += -g
5: CFLAGS += -Wall -Wextra
6: CFLAGS += $(shell $(PKG_CONFIG) libuv --cflags)
7: LDFLAGS += $(shell $(PKG_CONFIG) libuv --libs-only-L)
8: LDLIBS += $(shell $(PKG_CONFIG) libuv --libs-only-l)
9:
10: OBJS = minissdpc-libuv.o example.o
11: BIN = example
12:
13: .PHONY: all clean
14:
15: all: $(BIN)
16:
17: clean:
18: $(RM) $(BIN) $(OBJS)
19:
20: $(BIN): $(OBJS)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>