Add install target
This commit is contained in:
parent
70081f2237
commit
f0fccd8fe8
5
Makefile
5
Makefile
@ -1,5 +1,6 @@
|
|||||||
CC=clang
|
CC=clang
|
||||||
CFLAGS=-O3 -fompss-2
|
CFLAGS=-O3 -fompss-2
|
||||||
|
DESTDIR?=/usr
|
||||||
|
|
||||||
BENCHMARKS=\
|
BENCHMARKS=\
|
||||||
sched_get \
|
sched_get \
|
||||||
@ -16,6 +17,10 @@ all: $(BIN)
|
|||||||
clean:
|
clean:
|
||||||
rm -f $(BIN)
|
rm -f $(BIN)
|
||||||
|
|
||||||
|
install: $(BIN)
|
||||||
|
mkdir -p $(DESTDIR)/bin
|
||||||
|
cp bench6* $(DESTDIR)/bin
|
||||||
|
|
||||||
plot: $(BIN) $(DATA) $(PLOT)
|
plot: $(BIN) $(DATA) $(PLOT)
|
||||||
|
|
||||||
bench6.%: src/%.c src/common.c
|
bench6.%: src/%.c src/common.c
|
||||||
|
Loading…
Reference in New Issue
Block a user