Return to Makefile CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / miniupnpc-libuv |
Version 2.3.3p0
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)