libselinux: simplify SRCS in Makefile
The makefile does: SRCS= $(filter-out $A, $(filter-out $B, *)) When it can just do: SRCS= $(filter-out $A $B, *) Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
bbad2cb655
commit
e4f49b120a
|
@ -42,7 +42,7 @@ ifeq ($(DISABLE_RPM),y)
|
|||
endif
|
||||
|
||||
GENERATED=$(SWIGCOUT) $(SWIGRUBYCOUT)
|
||||
SRCS= $(filter-out $(UNUSED_SRCS), $(filter-out audit2why.c $(GENERATED),$(wildcard *.c)))
|
||||
SRCS= $(filter-out $(UNUSED_SRCS) $(GENERATED) audit2why.c, $(wildcard *.c))
|
||||
|
||||
OBJS= $(patsubst %.c,%.o,$(SRCS))
|
||||
LOBJS= $(patsubst %.c,%.lo,$(SRCS))
|
||||
|
|
Loading…
Reference in New Issue