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 4 and 8

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

Rev 4 Rev 8
Line 28... Line 28...
#   Example: IHXEXTRADEPS:=$(shell echo $(ZTEXPREFIX)/include/*.h)
#   Example: IHXEXTRADEPS:=$(shell echo $(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
 
#   Extra flags for the jar command
 
#   Example: EXTRAJARFLAGS=-C com
 
 
# EXTRACLEANFILES
# EXTRACLEANFILES
#   Extra files that should be cleaned by target "clean"
#   Extra files that should be cleaned by target "clean"
 
 
# EXTRADISTCLEANFILES
# EXTRADISTCLEANFILES
Line 54... Line 57...
 
 
%.class: %.java $(CLASSEXTRADEPS)
%.class: %.java $(CLASSEXTRADEPS)
        $(JAVAC) -cp "$(CLASSPATH)" $<
        $(JAVAC) -cp "$(CLASSPATH)" $<
 
 
$(JARTARGET) : $(CLASSTARGETS) $(EXTRAJARFILES)
$(JARTARGET) : $(CLASSTARGETS) $(EXTRAJARFILES)
        jar cf $(JARTARGET) *.class $(EXTRAJARFILES) -C $(ZTEXPREFIX)/libusbJava . $(shell cd $(ZTEXPREFIX)/java; ls ztex/*.class | while read a; do echo "-C $(ZTEXPREFIX)/java $$a"; done)
        jar cf $(JARTARGET) *.class $(EXTRAJARFILES) $(EXTRAJARFLAGS) -C $(ZTEXPREFIX)/libusbJava . $(shell cd $(ZTEXPREFIX)/java; ls ztex/*.class | while read a; do echo "-C $(ZTEXPREFIX)/java $$a"; done)
 
 
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

powered by: WebSVN 2.1.0

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