Allow the makefile patch to pass CFLAGS, CPPFLAGS, and LDFLAGS Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39803
12 lines
247 B
Diff
12 lines
247 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,7 +1,7 @@
|
|
all: e169-stats
|
|
|
|
e169-stats: e169-stats.c
|
|
- gcc -Wall -o e169-stats e169-stats.c -lcurses
|
|
+ $(CC) $(CFLAGS) -Wall -o e169-stats e169-stats.c $(CPPFLAGS) $(LDFLAGS)
|
|
|
|
clean:
|
|
-rm e169-stats *.core
|