Makefile 288 B

123456789101112
  1. # kbuild trick to avoid linker error. Can be omitted if a module is built.
  2. obj- := dummy.o
  3. # List of programs to build
  4. hostprogs-y := hid-example
  5. # Tell kbuild to always build the programs
  6. always := $(hostprogs-y)
  7. HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
  8. all: hid-example