Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
e6d3bcaa
Commit
e6d3bcaa
authored
Feb 22, 2013
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add makefile in the main directory
parent
a9a64a89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
1 deletion
+39
-1
.gitignore
.gitignore
+0
-1
Makefile
Makefile
+39
-0
No files found.
.gitignore
View file @
e6d3bcaa
misc
examples
Makefile
hdlmake.aux
hdlmake.pdf
hdlmake.log
...
...
Makefile
0 → 100644
View file @
e6d3bcaa
# -*- coding: utf-8 -*-
#
# Copyright (c) 2011 Pawel Szostek (pawel.szostek@cern.ch)
#
# This source code is free software; you can redistribute it
# and/or modify it in source code form under the terms of the GNU
# General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#
SRC
:=
configparser.py connection.py dep_solver.py fetch.py
\
flow.py flow_altera.py global_mod.py hdlmake_kernel.py
\
help_printer.py helper_classes.py __main__.py makefile_writer.py
\
module.py msg.py path.py srcfile.py
\
PREFIX
:=
src
ARCH
:=
hdlmake
$(ARCH)
:
$(foreach src
,
$(SRC)
,
$(PREFIX)/$(src)) Makefile
cd
$(PREFIX)
&&
\
zip
$(ARCH)
$(SRC)
&&
\
echo
'#!/usr/bin/python'
>
$(ARCH)
&&
\
cat
$(ARCH)
.zip
>>
$(ARCH)
&&
\
rm
$(ARCH)
.zip
&&
\
mv
$(ARCH)
..
chmod
+x
$(ARCH)
clean
:
rm
-f
$(PREFIX)
/
*
~
$(PREFIX)
/
*
pyc
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