mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
Create an Architecture class and bind them to their entities.
This commit is contained in:
+6
-2
@@ -59,7 +59,7 @@ LIBS = @LIBS@ @EXTRALIBS@
|
||||
|
||||
M = StringHeap.o LineInfo.o
|
||||
|
||||
O = main.o compiler.o entity.o entity_elaborate.o \
|
||||
O = main.o architec.o compiler.o entity.o entity_elaborate.o \
|
||||
lexor.o lexor_keyword.o parse.o vhdlreal.o vhdlint.o $M
|
||||
|
||||
all: dep vhdlpp@EXEEXT@
|
||||
@@ -86,6 +86,10 @@ dep:
|
||||
vhdlpp@EXEEXT@: $O
|
||||
$(CXX) -o vhdlpp@EXEEXT@ $(LDFLAGS) $O $(LIBS)
|
||||
|
||||
%.o: $(srcdir)/../libmisc/%.cc
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
|
||||
mv $*.d dep/$*.d
|
||||
|
||||
%.o: %.cc vhdlpp_config.h
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
|
||||
mv $*.d dep/$*.d
|
||||
@@ -123,4 +127,4 @@ stamp-vhdlpp_config-h: $(srcdir)/vhdlpp_config.h.in ../config.status
|
||||
vhplpp_config.h: stamp-vhdlpp_config-h
|
||||
|
||||
|
||||
-include $(patsubst %.o, dep/%.d, $O)
|
||||
-include $(patsubst %.o, dep/%.d, $O $M)
|
||||
|
||||
Reference in New Issue
Block a user