make path to dstring.c independent from build directory

This commit is contained in:
Holger Vogt 2020-02-14 19:37:19 +01:00
parent ed95f46259
commit 9b4944df33
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ clean:
#-----------------------------------------------------------------------------
NGSRCDIR = $(CURDIR)/../../../../src
NGSRCDIR = $(srcdir)/../../
dstring.o : $(NGSRCDIR)/misc/dstring.c $(NGSRCDIR)/include/ngspice/dstring.h
$(COMPILE) -I $(NGSRCDIR)/include/ngspice -o $@ -c $<