mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 09:36:51 +07:00
18 lines
272 B
Makefile
18 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)
|