18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciPREFIX ?= /usr 38c2ecf20Sopenharmony_ciSBINDIR ?= sbin 48c2ecf20Sopenharmony_ciINSTALL ?= install 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciTARGET = freefall 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciall: $(TARGET) 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci%: %.c 118c2ecf20Sopenharmony_ci $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciclean: 148c2ecf20Sopenharmony_ci $(RM) $(TARGET) 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciinstall: freefall 178c2ecf20Sopenharmony_ci $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET) 18