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

Subversion Repositories t400

[/] [t400/] [trunk/] [syn/] [t421/] [xc3s1000/] [Makefile] - Blame information for rev 179

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 154 arniml
##############################################################################
2
#
3
# Generic Makefile for ISE projects
4
#
5 179 arniml
# $Id: Makefile 179 2009-04-01 19:48:38Z arniml $
6 154 arniml
#
7
# Execute with 'make ', where target is one of
8
#   ise           : build ISE project from
9
#                   - files in compile_list
10
#                   - project settings in timing.ucf and .ucf
11
#                   - project settings applied in gen_ise_project.tcl
12
#   compile       : compile ISE project by means of tcl script
13
#                   compile_project.tcl
14
#    | all : run through all targets above
15
#
16
##############################################################################
17
 
18
export MODULE := t421
19
 
20
export COMPILE_LIST := compile_list
21
SOURCE_FILES := $(shell cat $(COMPILE_LIST))
22
export BLD := bld
23
 
24
.PHONY: all
25
all: $(BLD)/$(MODULE).bit
26
 
27
.PHONY: ise
28
ise: $(BLD)/$(MODULE).ise
29
 
30
.PHONY: compile
31
compile: $(BLD)/$(MODULE).bit
32
 
33
$(BLD)/$(MODULE).ise: $(COMPILE_LIST) *.ucf gen_ise_project.tcl
34
        xtclsh gen_ise_project.tcl
35
 
36
$(BLD)/$(MODULE).bit: $(SOURCE_FILES) $(BLD)/$(MODULE).ise compile_project.tcl
37
        xtclsh compile_project.tcl
38
        touch $@
39
 
40
.PHONY: clean
41
clean:
42
        rm -rf *~ bld

powered by: WebSVN 2.1.0

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