Linux 5.1.15
[linux/fpc-iii.git] / tools / laptop / freefall / Makefile
blobb572d94255f66c518ebd201eab3fb80b8735d0d4
1 # SPDX-License-Identifier: GPL-2.0
2 PREFIX ?= /usr
3 SBINDIR ?= sbin
4 INSTALL ?= install
6 TARGET = freefall
8 all: $(TARGET)
10 %: %.c
11 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
13 clean:
14 $(RM) $(TARGET)
16 install: freefall
17 $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)