1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 PREFIX ?= /usr 2 PREFIX ?= /usr 3 SBINDIR ?= sbin 3 SBINDIR ?= sbin 4 INSTALL ?= install 4 INSTALL ?= install >> 5 CC = $(CROSS_COMPILE)gcc 5 6 6 TARGET = freefall 7 TARGET = freefall 7 8 8 all: $(TARGET) 9 all: $(TARGET) 9 10 10 %: %.c 11 %: %.c 11 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< 12 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< 12 13 13 clean: 14 clean: 14 $(RM) $(TARGET) 15 $(RM) $(TARGET) 15 16 16 install: freefall 17 install: freefall 17 $(INSTALL) -D -m 755 $(TARGET) $(DESTD 18 $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.