##// END OF EJS Templates
fixed Makefile for Mingw users
Alexis -
r15:90dcc18c3363 default
parent child
Show More
@@ -1,47 +1,50
1 SCRIPTSDIR=scripts/
1 SCRIPTSDIR=scripts/
2 LIBDIR=lib/
2 LIBDIR=lib/
3 BOARDSDIR=boards/
3 BOARDSDIR=boards/
4 DESIGNSDIR=designs/
4 DESIGNSDIR=designs/
5
5
6
6
7
7
8
8
9
9
10
10
11 all: help
11 all: help
12
12
13 help:
13 help:
14 @echo
14 @echo
15 @echo " batch targets:"
15 @echo " batch targets:"
16 @echo
16 @echo
17 @echo " make Patch-GRLIB : install library into GRLIB at : $(GRLIB)"
17 @echo " make Patch-GRLIB : install library into GRLIB at : $(GRLIB)"
18 @echo " make dist : create a tar file for using into an other computer"
18 @echo " make dist : create a tar file for using into an other computer"
19 @echo " make Patched-dist : create a tar file for with a patched grlib for using into an other computer"
19 @echo " make Patched-dist : create a tar file for with a patched grlib for using into an other computer"
20 @echo " make allGPL : add a GPL HEADER in all vhdl Files"
20 @echo " make allGPL : add a GPL HEADER in all vhdl Files"
21 @echo " make init : add a GPL HEADER in all vhdl Files, init all files"
21 @echo " make init : add a GPL HEADER in all vhdl Files, init all files"
22 @echo " make doc : make documentation for VHDL IPs"
22 @echo " make doc : make documentation for VHDL IPs"
23 @echo " make pdf : make pdf documentation for VHDL IPs"
23 @echo
24 @echo
24
25
25 allGPL:
26 allGPL:
26 sh $(SCRIPTSDIR)/GPL_Patcher.sh -R
27 sh $(SCRIPTSDIR)/GPL_Patcher.sh -R
27
28
28 init: allGPL
29 init: allGPL
29 sh $(SCRIPTSDIR)/vhdlsynPatcher.sh
30 sh $(SCRIPTSDIR)/vhdlsynPatcher.sh
30 sh $(SCRIPTSDIR)/makeDirs.sh lib/lpp
31 sh $(SCRIPTSDIR)/makeDirs.sh lib/lpp
31
32
32
33
33 Patch-GRLIB: init doc
34 Patch-GRLIB: init doc
34 sh $(SCRIPTSDIR)/patch.sh $(GRLIB)
35 sh $(SCRIPTSDIR)/patch.sh $(GRLIB)
35
36
36
37
37 dist: init
38 dist: init
38 tar -cvzf ./../lpp-lib.tgz ./../VHD_Lib/*
39 tar -cvzf ./../lpp-lib.tgz ./../VHD_Lib/*
39
40
40 Patched-dist: Patch-GRLIB
41 Patched-dist: Patch-GRLIB
41 tar -cvzf ./../lpp-patched-GRLIB.tgz $(GRLIB)/*
42 tar -cvzf ./../lpp-patched-GRLIB.tgz $(GRLIB)/*
42
43
43
44
44 doc:
45 doc:
45 doxygen lib/lpp/Doxyfile
46 doxygen lib/lpp/Doxyfile
47
48 pdf:
46 make lib/lpp/doc/latex
49 make lib/lpp/doc/latex
47 cp lib/lpp/doc/latex/refman.pdf lib/lpp/doc/VHD_lib.pdf
50 cp lib/lpp/doc/latex/refman.pdf lib/lpp/doc/VHD_lib.pdf
General Comments 0
You need to be logged in to leave comments. Login now