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

Subversion Repositories usb_fpga_1_11

[/] [usb_fpga_1_11/] [trunk/] [Makefile.mk] - Diff between revs 5 and 6

Show entire file | Details | Blame | View Log

Rev 5 Rev 6
Line 1... Line 1...
# This Makefile defines the standard rules for building the project.
# This Makef^ile defines the standard rules for building the project.
#
#
# The following variables are used:
# The following variables are used:
#
#
# ZTEXPREFIX
# ZTEXPREFIX
#   Defines the location of the EZ-USB SDK
#   Defines the location of the EZ-USB SDK
Line 15... Line 15...
#   Java Classes that have to be build
#   Java Classes that have to be build
#   Example: CLASSTARGETS=UCEcho.class
#   Example: CLASSTARGETS=UCEcho.class
#
#
# CLASSEXTRADEPS
# CLASSEXTRADEPS
#   Extra dependencies for Java Classes
#   Extra dependencies for Java Classes
#   Example: CLASSEXTRADEPS:=$(shell echo $(ZTEXPREFIX)/java/ztex/*.java)
#   Example: CLASSEXTRADEPS:=$(wildcard $(ZTEXPREFIX)/java/ztex/*.java)
#
#
# IHXTARGETS
# IHXTARGETS
#   ihx files (firmware ROM files) that have to be build
#   ihx files (firmware ROM files) that have to be build
#   Example: IHXTARGETS=ucecho.ihx
#   Example: IHXTARGETS=ucecho.ihx
#
#
# IHXEXTRADEPS
# IHXEXTRADEPS
#   Extra Dependencies for ihx files
#   Extra Dependencies for ihx files
#   Example: IHXEXTRADEPS:=$(shell echo $(ZTEXPREFIX)/include/*.h)
#   Example: IHXEXTRADEPS:=$(wildcard $(ZTEXPREFIX)/include/*.h)
#
#
# EXTRAJARFILES
# EXTRAJARFILES
#   Extra files that should be included into the jar archive
#   Extra files that should be included into the jar archive
#   Example: EXTRAJARFILES=ucecho.ihx fpga/ucecho.bin
#   Example: EXTRAJARFILES=ucecho.ihx fpga/ucecho.bin
# EXTRAJARFLAGS
# EXTRAJARFLAGS
Line 39... Line 39...
 
 
# EXTRADISTCLEANFILES
# EXTRADISTCLEANFILES
#   Extra files that should be cleaned by target "distclean"
#   Extra files that should be cleaned by target "distclean"
 
 
 
 
.PHONY: all ihx jar clean distclean default
.PHONY: all ihx jar clean distclean default avr avrclean avrdistclean
 
.SUFFIXES: .ihx .class .jar .java .c
 
 
JAVAC=javac
JAVAC=javac
SDCC=$(ZTEXPREFIX)/bin/bmpsdcc.sh
SDCC=$(ZTEXPREFIX)/bin/bmpsdcc.sh
CLASSPATH:=.:$(ZTEXPREFIX)/libusbJava:$(ZTEXPREFIX)/java:$(CLASSPATH)
CLASSPATH:=.:$(ZTEXPREFIX)/libusbJava:$(ZTEXPREFIX)/java:$(CLASSPATH)
INCLUDES=-I $(ZTEXPREFIX)/include/
INCLUDES=-I $(ZTEXPREFIX)/include/
Line 69... Line 70...
 
 
distclean: clean
distclean: clean
        rm -f $(JARTARGET)
        rm -f $(JARTARGET)
        rm -f *.ihx
        rm -f *.ihx
        rm -f $(EXTRADISTCLEANFILES)
        rm -f $(EXTRADISTCLEANFILES)
 
 
 
avr:
 
        if [ -d avr ]; then make -C avr all; fi
 
 
 
avrclean:
 
        if [ -d avr ]; then make -C avr clean; fi
 
 
 
avrdistclean:
 
        if [ -d avr ]; then make -C avr distclean; fi

powered by: WebSVN 2.1.0

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