mirror of https://github.com/YosysHQ/yosys.git
Use $< to refer to the first prerequisite listed in the rule
This commit is contained in:
parent
09b9aa83c9
commit
67d4c8bba6
4
Makefile
4
Makefile
|
@ -787,10 +787,10 @@ abc/abc$(EXE) abc/libabc.a: $(ABC_SOURCES)
|
|||
$(Q) mkdir -p abc && $(MAKE) -C $(PROGRAM_PREFIX)abc -f "$(realpath $(YOSYS_SRC)/abc/Makefile)" ABCSRC="$(realpath $(YOSYS_SRC)/abc/)" $(S) $(ABCMKARGS) $(if $(filter %.a,$@),PROG="abc",PROG="abc$(EXE)") MSG_PREFIX="$(eval P_OFFSET = 5)$(call P_SHOW)$(eval P_OFFSET = 10) ABC: " $(if $(filter %.a,$@),libabc.a)
|
||||
|
||||
$(PROGRAM_PREFIX)yosys-abc$(EXE): abc/abc$(EXE)
|
||||
$(P) cp abc/abc$(EXE) $(PROGRAM_PREFIX)yosys-abc$(EXE)
|
||||
$(P) cp $< $(PROGRAM_PREFIX)yosys-abc$(EXE)
|
||||
|
||||
$(PROGRAM_PREFIX)yosys-libabc.a: abc/libabc.a
|
||||
$(P) cp abc/libabc.a $(PROGRAM_PREFIX)yosys-libabc.a
|
||||
$(P) cp $< $(PROGRAM_PREFIX)yosys-libabc.a
|
||||
|
||||
ifneq ($(SEED),)
|
||||
SEEDOPT="-S $(SEED)"
|
||||
|
|
Loading…
Reference in New Issue