URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
[/] [t48/] [tags/] [rel_1_1/] [syn/] [t8048/] [b5x300/] [Makefile] - Rev 312
Go to most recent revision | Compare with Previous | Blame | View Log
##############################################################################
#
# Generic Makefile for ISE projects
#
# $Id: Makefile,v 1.1 2008-04-12 21:27:07 arniml Exp $
#
# Execute with 'make <target>', where target is one of
# ise : build ISE project from
# - files in compile_list
# - project settings in timing.ucf and <board>.ucf
# - project settings applied in gen_ise_project.tcl
# compile : compile ISE project by means of tcl script
# compile_project.tcl
# <blank> | all : run through all targets above
#
##############################################################################
export MODULE := t8048
export COMPILE_LIST := compile_list
SOURCE_FILES := $(shell cat $(COMPILE_LIST))
export BLD := bld
.PHONY: all
all: $(BLD)/$(MODULE).bit
.PHONY: ise
ise: $(BLD)/$(MODULE).ise
.PHONY: compile
compile: $(BLD)/$(MODULE).bit
$(BLD)/$(MODULE).ise: $(COMPILE_LIST) *.ucf gen_ise_project.tcl
xtclsh gen_ise_project.tcl
$(BLD)/$(MODULE).bit: $(SOURCE_FILES) $(BLD)/$(MODULE).ise compile_project.tcl
xtclsh compile_project.tcl
touch $@
.PHONY: clean
clean:
rm -rf *~ bld
Go to most recent revision | Compare with Previous | Blame | View Log