Add install target

This commit is contained in:
Rodrigo Arias 2023-03-14 14:16:55 +01:00
parent 70081f2237
commit f0fccd8fe8

View File

@ -1,5 +1,6 @@
CC=clang
CFLAGS=-O3 -fompss-2
DESTDIR?=/usr
BENCHMARKS=\
sched_get \
@ -16,6 +17,10 @@ all: $(BIN)
clean:
rm -f $(BIN)
install: $(BIN)
mkdir -p $(DESTDIR)/bin
cp bench6* $(DESTDIR)/bin
plot: $(BIN) $(DATA) $(PLOT)
bench6.%: src/%.c src/common.c