samples: watchdog: use 'userprogs' syntax
[sfrench/cifs-2.6.git] / samples / watchdog / Makefile
index a9430fa60253dc1a1ad57957a093046137668be8..17384cfb387e9e72031b101779dffe1c484711cf 100644 (file)
@@ -1,9 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0
-CC := $(CROSS_COMPILE)gcc
-PROGS := watchdog-simple
-
-all: $(PROGS)
-
-clean:
-       rm -fr $(PROGS)
-
+userprogs := watchdog-simple
+always-y := $(userprogs)