Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
36eef2ff
Commit
36eef2ff
authored
Sep 28, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converting to a Makefile project
parent
5455d171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
Makefile
Makefile
+49
-0
No files found.
Makefile
0 → 100644
View file @
36eef2ff
VERILOGDIR
=
$(DESTDIR)
/usr/local/verilog
INSTALLDIR
=
$(DESTDIR)
/usr/local/bin
DOCUMENTROOT
=
$(DESTDIR)
/www/pages
SCRIPTPATH
=
py393
COCOTB
=
cocotb
LINK
=
ln
OWN
=
-o
root
-g
root
#INSTALL = $(INSTALL)
INSTMODE
=
0755
DOCMODE
=
0644
PYTHON_EXE
=
$(SCRIPTPATH)
/
*
.py
\
cocotb/socket_command.py
FPGA_BITFILES
=
*
.bit
VERILOG_HEADERS
=
system_defines.vh
\
includes/x393_parameters.vh
\
includes/x393_localparams.vh
\
includes/x393_cur_params_target.vh
COMMAND_FILES
=
py393/hargs
\
py393/hargs-auto
\
py393/includes
\
py393/startup5
\
py393/startup14
all
:
@
echo
"make all in x393"
install
:
@
echo
"make install in x393"
$(INSTALL)
$(OWN)
-d
$(VERILOGDIR)
$(INSTALL)
$(OWN)
-d
$(DOCUMENTROOT)
$(INSTALL)
$(OWN)
-d
$(INSTALLDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PYTHON_EXE)
$(INSTALLDIR)
$(INSTALL)
$(OWN)
-m
$(DOCMODE)
$(FPGA_BITFILES)
$(VERILOGDIR)
$(INSTALL)
$(OWN)
-m
$(DOCMODE)
$(VERILOG_HEADERS)
$(VERILOGDIR)
$(INSTALL)
$(OWN)
-m
$(DOCMODE)
$(COMMAND_FILES)
$(VERILOGDIR)
$(LINK)
-s
-r
$(INSTALLDIR)/imgsrv.py
$(DOCUMENTROOT)
# $(INSTALL) $(OWN) -m $(INSTMODE) $(SCRIPTPATH)/imgsrv.py $(DOCUMENTROOT)
#unistall
# rm $(SCRIPTPATH)/imgsrv.py
clean
:
@
echo
"make clean in x393"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment