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

Subversion Repositories usb_fpga_1_2

[/] [usb_fpga_1_2/] [trunk/] [Makefile.mk] - Diff between revs 2 and 4

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 4
Line 1... Line 1...
# This Makefile defines the standard rules for building the project.
# This Makefile defines the standard rules for building the project.
#
#
# The following variables are used:
# The following variables are used:
#
#
# ZTEXPREFIX
# ZTEXPREFIX
#   Defines location if this firmware / driver kit.
#   Defines the location of the EZ-USB SDK
#   Must be defined!
#   Must be defined!
#   Example: ZTEXPREFIX=../../..
#   Example: ZTEXPREFIX=../../..
#
#
# JARTARGET
# JARTARGET
#   The name of the jar archive
#   The name of the jar archive
Line 26... Line 26...
# IHXEXTRADEPS
# IHXEXTRADEPS
#   Extra Dependencies for ihx files
#   Extra Dependencies for ihx files
#   Example: IHXEXTRADEPS:=$(shell echo $(ZTEXPREFIX)/include/*.h)
#   Example: IHXEXTRADEPS:=$(shell echo $(ZTEXPREFIX)/include/*.h)
#
#
# EXTRAJARFILES
# EXTRAJARFILES
#   Extra files that should be included into th jar achieve
#   Extra files that should be included into the jar archive
#   Example: EXTRAJARFILES=ucecho.ihx fpga/ucecho.bin
#   Example: EXTRAJARFILES=ucecho.ihx fpga/ucecho.bin
 
 
.PHONY: all ihx jar clean distclean
# EXTRACLEANFILES
 
#   Extra files that should be cleaned by target "clean"
 
 
 
# EXTRADISTCLEANFILES
 
#   Extra files that should be cleaned by target "distclean"
 
 
 
 
 
.PHONY: all ihx jar clean distclean default
 
 
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 53... Line 60...
 
 
clean:
clean:
        rm -f *~ *.bak *.old
        rm -f *~ *.bak *.old
        rm -f *.class
        rm -f *.class
        rm -f *.rel *.rst *.lnk *.lst *.map *.asm *.sym *.mem *.tmp.c
        rm -f *.rel *.rst *.lnk *.lst *.map *.asm *.sym *.mem *.tmp.c
 
        rm -f $(EXTRACLEANFILES)
 
 
distclean: clean
distclean: clean
        rm -f $(JARTARGET)
        rm -f $(JARTARGET)
        rm -f *.ihx
        rm -f *.ihx
 
        rm -f $(EXTRADISTCLEANFILES)

powered by: WebSVN 2.1.0

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