diff --git a/makefile b/makefile index d32f5fa2..52feb489 100644 --- a/makefile +++ b/makefile @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.darwin.clang.x86_64 b/makefile.darwin.clang.x86_64 index 8b167dc1..fa73546a 100644 --- a/makefile.darwin.clang.x86_64 +++ b/makefile.darwin.clang.x86_64 @@ -52,7 +52,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.clang.powerpc b/makefile.linux.clang.powerpc index b50647bd..732ffa4a 100644 --- a/makefile.linux.clang.powerpc +++ b/makefile.linux.clang.powerpc @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.clang.x86_64 b/makefile.linux.clang.x86_64 index bdc31016..e7e34a90 100644 --- a/makefile.linux.clang.x86_64 +++ b/makefile.linux.clang.x86_64 @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.armv6j b/makefile.linux.gcc.armv6j index 80c0d1c4..500cdca9 100644 --- a/makefile.linux.gcc.armv6j +++ b/makefile.linux.gcc.armv6j @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.armv6j_hardfp b/makefile.linux.gcc.armv6j_hardfp index 659b7ba1..a6292a4c 100644 --- a/makefile.linux.gcc.armv6j_hardfp +++ b/makefile.linux.gcc.armv6j_hardfp @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.armv7a_hardfp b/makefile.linux.gcc.armv7a_hardfp index 6dd60472..3743232c 100644 --- a/makefile.linux.gcc.armv7a_hardfp +++ b/makefile.linux.gcc.armv7a_hardfp @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.powerpc b/makefile.linux.gcc.powerpc index cb7858b0..1fc77a4c 100644 --- a/makefile.linux.gcc.powerpc +++ b/makefile.linux.gcc.powerpc @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.x86 b/makefile.linux.gcc.x86 index ce6d7cee..4904c6db 100644 --- a/makefile.linux.gcc.x86 +++ b/makefile.linux.gcc.x86 @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture. diff --git a/makefile.linux.gcc.x86_64 b/makefile.linux.gcc.x86_64 index d32f5fa2..52feb489 100644 --- a/makefile.linux.gcc.x86_64 +++ b/makefile.linux.gcc.x86_64 @@ -51,7 +51,7 @@ port1: stage5 # this builds binary which generates voc.par stage0: src/tools/vocparam/vocparam.c - $(CL) -I src/lib -o vocparam src/tools/vocparam/vocparam.c + $(CL) -I src/lib/system/$(TOS)/$(CCOMP)/$(TARCH) -o vocparam src/tools/vocparam/vocparam.c # this creates voc.par for a host architecture. # comment this out if you need to build a compiler for a different architecture.