From: Felix Fietkau Date: Tue, 10 Aug 2010 23:49:11 +0000 (+0200) Subject: Add LDFLAGS to the Makefile X-Git-Url: http://git.archive.openwrt.org/?p=project%2Frelayd.git;a=commitdiff_plain;h=bb8bc49b9f41b1935b616a54dce572d8cdf741c8 Add LDFLAGS to the Makefile --- diff --git a/Makefile b/Makefile index 74ff810..9461f7d 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ CFLAGS = -O2 -Wall -Werror -pedantic --std=gnu99 CPPFLAGS = -I. +LDFLAGS = all: relayd relayd: uloop.o main.o - $(CC) -o $@ $^ + $(CC) -o $@ $^ $(LDFLAGS) uloop.c: uloop.h main.c: uloop.h