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

Subversion Repositories xulalx25soc

[/] [xulalx25soc/] [trunk/] [sw/] [Makefile] - Diff between revs 105 and 113

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

Rev 105 Rev 113
Line 53... Line 53...
%.o: $(OBJDIR)/ $(OBJDIR)/%.o
%.o: $(OBJDIR)/ $(OBJDIR)/%.o
$(OBJDIR)/%.o: %.cpp
$(OBJDIR)/%.o: %.cpp
        $(CXX) $(CFLAGS) -c $< -o $@
        $(CXX) $(CFLAGS) -c $< -o $@
$(OBJDIR)/zipdbg.o: zipdbg.cpp
$(OBJDIR)/zipdbg.o: zipdbg.cpp
        $(CXX) $(CFLAGS) -I$(ZIPD) -c $< -o $@
        $(CXX) $(CFLAGS) -I$(ZIPD) -c $< -o $@
$(OBJDIR)/cpuscope.o: cpuscope.cpp
$(OBJDIR)/cpuscope.o: cpuscope.cpp scopecls.h
 
        $(CXX) $(CFLAGS) -I$(ZIPD) -c $< -o $@
 
$(OBJDIR)/scopecls.o: scopecls.cpp scopecls.h
        $(CXX) $(CFLAGS) -I$(ZIPD) -c $< -o $@
        $(CXX) $(CFLAGS) -I$(ZIPD) -c $< -o $@
 
 
.PHONY: clean
.PHONY: clean
clean:
clean:
        rm -rf $(OBJDIR)/ $(PROGRAMS)
        rm -rf $(OBJDIR)/ $(PROGRAMS)
Line 94... Line 96...
ZIPSRCS := $(addprefix $(ZIPD)/,zparser.cpp zopcodes.cpp)
ZIPSRCS := $(addprefix $(ZIPD)/,zparser.cpp zopcodes.cpp)
ZIPOBJS := twoc.o zparser.o zopcodes.o
ZIPOBJS := twoc.o zparser.o zopcodes.o
# ZIPOBJS := $(addprefix $(ZIPD)/$(OBJDIR)/,$(ZIPOBJS_RAW))
# ZIPOBJS := $(addprefix $(ZIPD)/$(OBJDIR)/,$(ZIPOBJS_RAW))
zipdbg: $(OBJDIR)/zipdbg.o $(BUSOBJS) $(ZIPSRCS) $(OBJDIR)/twoc.o
zipdbg: $(OBJDIR)/zipdbg.o $(BUSOBJS) $(ZIPSRCS) $(OBJDIR)/twoc.o
        $(CXX) $(CFLAGS) $^ $(LIBS) -lncurses -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -lncurses -o $@
cpuscope: $(OBJDIR)/cpuscope.o $(BUSOBJS) $(ZIPOBJS)
cpuscope: $(OBJDIR)/cpuscope.o $(OBJDIR)/scopecls.o $(BUSOBJS)
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
        $(CXX) $(CFLAGS) $^ $(LIBS) -o $@
 
 
nothing:
nothing:
        @echo
        @echo
 
 

powered by: WebSVN 2.1.0

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