Makefile 316 B

1234567891011121314151617
  1. # SPDX-License-Identifier: GPL-2.0
  2. all:
  3. include ../lib.mk
  4. .PHONY: all clean
  5. BINARIES := uevent_filtering
  6. CFLAGS += -Wl,-no-as-needed -Wall
  7. uevent_filtering: uevent_filtering.c ../kselftest.h ../kselftest_harness.h
  8. $(CC) $(CFLAGS) $< -o $@
  9. TEST_PROGS += $(BINARIES)
  10. EXTRA_CLEAN := $(BINARIES)
  11. all: $(BINARIES)