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

Subversion Repositories xulalx25soc

[/] [xulalx25soc/] [trunk/] [sw/] [Makefile] - Diff between revs 5 and 11

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

Rev 5 Rev 11
Line 31... Line 31...
################################################################################
################################################################################
##
##
##
##
.PHONY: all
.PHONY: all
PROGRAMS := $(OBJDIR) usbtst wbregs netusb wbsettime dumpflash  \
PROGRAMS := $(OBJDIR) usbtst wbregs netusb wbsettime dumpflash  \
        dumpsdram ziprun ramscope
        dumpsdram ziprun ramscope zipstate zipdbg
all: $(PROGRAMS)
all: $(PROGRAMS)
CXX := g++
CXX := g++
LIBUSBINC := -I/usr/include/libusb-1.0/
LIBUSBINC := -I/usr/include/libusb-1.0/
LIBUSBDIR := -L/usr/lib/x86_64-linux-gnu
LIBUSBDIR := -L/usr/lib/x86_64-linux-gnu
OBJDIR := obj-pc
OBJDIR := obj-pc
Line 79... Line 79...
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
dumpsdram: $(OBJDIR)/dumpsdram.o $(BUSOBJS)
dumpsdram: $(OBJDIR)/dumpsdram.o $(BUSOBJS)
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
ziprun: $(OBJDIR)/ziprun.o $(BUSOBJS)
ziprun: $(OBJDIR)/ziprun.o $(BUSOBJS)
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
 
zipstate: $(OBJDIR)/zipstate.o $(BUSOBJS)
 
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
ZIPOBJS_RAW := twoc.o zparser.o zopcodes.o
ZIPOBJS_RAW := twoc.o zparser.o zopcodes.o
ZIPOBJS := $(addprefix $(ZIPD)/$(OBJDIR)/,$(ZIPOBJS_RAW))
ZIPOBJS := $(addprefix $(ZIPD)/$(OBJDIR)/,$(ZIPOBJS_RAW))
zipdbg: $(OBJDIR)/zipdbg.o $(BUSOBJS) $(ZIPOBJS)
zipdbg: $(OBJDIR)/zipdbg.o $(BUSOBJS) $(ZIPOBJS)
        $(CXX) $(CFLAGS) $^ $(LIBS) -lncurses -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -lncurses -o $@
cpuscope: $(OBJDIR)/cpuscope.o $(BUSOBJS) $(ZIPOBJS)
cpuscope: $(OBJDIR)/cpuscope.o $(BUSOBJS) $(ZIPOBJS)

powered by: WebSVN 2.1.0

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