OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [Makefile] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dgisselq
.PHONY: all
2
all:    datestamp archive
3
# BENCH := `find bench -name Makefile` `find bench -name "*.cpp"` `find bench -name "*.h"`
4
BENCH :=
5
RTL   := `find rtl -name "*.v"` `find rtl -name Makefile`
6
NOTES := `find . -name "*.txt"` `find . -name "*.html"`
7
SW    := `find sw -name "*.cpp"` `find sw -name "*.h"`  \
8
        `find sw -name "*.sh"` `find sw -name "*.py"`   \
9
        `find sw -name "*.pl"` `find sw -name Makefile`
10
# PROJ  := xilinx/xula.prj xilinx/xula.xise xilinx/xula.xst     \
11
#       xilinx/xula.ut xilinx/Makefile
12
PROJ    :=
13
BIN     := `find xilinx -name "*.bit"`
14
CONSTRAINTS := cmod.ucf
15
YYMMDD  := `date +%Y%m%d`
16
 
17
datestamp:      $(YYMMDD)-build.v
18
$(YYMMDD)-build.v:
19
        -rm -rf 2*-build.v
20
        perl mkdatev.pl > $(YYMMDD)-build.v
21
        cd rtl; ln -fs ../$(YYMMDD)-build.v builddate.v
22
 
23
.PHONY: archive
24
archive:
25
        tar --transform s,^,$(YYMMDD)-s6/, -chjf $(YYMMDD)-xula.tjz $(BENCH) $(SW) $(RTL) $(NOTES) $(PROJ) $(BIN) $(CONSTRAINTS)
26
 
27
# .PHONY: bit
28
# bit:
29
#       cd xilinx ; make xula.bit
30
 
31
 

powered by: WebSVN 2.1.0

© copyright 1999-2023 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.