-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (29 loc) · 707 Bytes
/
Makefile
File metadata and controls
35 lines (29 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
VERSION = 1.4
RD = rlsim-$(VERSION)_amd64
all: rlsim docs
TARG=rlsim
tools/effest:
@cd tools; make
rlsim:
@cd src; make; cp $(TARG) ../
docs:
@cd doc; make; cd ..
clean:
rm -f $(TARG)
@cd src; make clean; cd ..
@cd doc; make clean; cd ..
release: rlsim docs tools/effest
@mkdir -p $(RD)/bin
@cp rlsim $(RD)/bin
@cp tools/effest $(RD)/bin
@cp tools/plot_rlsim_report $(RD)/bin
@cp tools/sel $(RD)/bin
@cp tools/cov_cmp $(RD)/bin
@cp tools/pb_plot $(RD)/bin
@cp doc/rlsim_manual.pdf $(RD)
@cp README.md $(RD)/
@cp COPYING $(RD)/
@tar -cvzf $(RD).tar.gz $(RD) && rm -r $(RD)
@cp $(RD).tar.gz releases/rlsim-latest_amd64.tar.gz
@mv $(RD).tar.gz releases/
@echo Relase $(RD) packaged.