mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
b3fd7368f8
Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
17 lines
272 B
Makefile
17 lines
272 B
Makefile
PREFIX ?= /usr
|
|
SBINDIR ?= sbin
|
|
INSTALL ?= install
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
TARGET = freefall
|
|
|
|
all: $(TARGET)
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
|
|
|
|
clean:
|
|
$(RM) $(TARGET)
|
|
|
|
install: freefall
|
|
$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)
|