aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 0b27ad7..d2e1c01 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -9,23 +9,24 @@ exec_perms = 0755
install-suid-root: exec_perms = 4755
CC ?= @CC@
-CFLAGS ?= @CFLAGS@
+CFLAGS ?= @CFLAGS@ @LIBNL3_CFLAGS@
CPPFLAGS ?= @CPPFLAGS@
LDFLAGS ?= @LDFLAGS@
DEFS ?= @DEFS@
-LDLIBS ?= @LIBS@
+LDLIBS ?= @LIBS@ @LIBNL3_LIBS@
INSTALL = @INSTALL@
RM = rm -vf
MAIN = @PACKAGE_NAME@.c
-HEADERS = @PACKAGE_NAME@.h llist.h iw_if.h
+HEADERS = $(wildcard *.h)
PURESRC = $(filter-out $(MAIN),$(wildcard *.c))
OBJS = $(PURESRC:.c=.o)
-DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog
+DOCS = README.md NEWS THANKS AUTHORS COPYING ChangeLog
%.o: %.c $(HEADERS)
- $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $<
+ @echo ' CC ' $<
+ @$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $<
all: @PACKAGE_NAME@
@PACKAGE_NAME@: $(MAIN) $(OBJS)