Bläddra i källkod

* add compiler targetdir

peter 22 år sedan
förälder
incheckning
854bbf5535
2 ändrade filer med 7 tillägg och 1 borttagningar
  1. 3 1
      fcl/passrc/Makefile
  2. 4 0
      fcl/passrc/Makefile.fpc

+ 3 - 1
fcl/passrc/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2003/03/13]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/01/14]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx
@@ -90,6 +90,7 @@ endif
 endif
 export ECHO
 endif
+override DEFAULT_FPCDIR=../..
 ifndef FPC
 ifdef PP
 FPC=$(PP)
@@ -206,6 +207,7 @@ override PACKAGE_NAME=fcl
 override TARGET_UNITS+=pastree pscanner pparser paswrite
 override INSTALL_FPCPACKAGE=y
 override COMPILER_OPTIONS+=-S2h
+override COMPILER_TARGETDIR+=../$(OS_TARGET)
 ifdef REQUIRE_UNITSDIR
 override UNITSDIR+=$(REQUIRE_UNITSDIR)
 endif

+ 4 - 0
fcl/passrc/Makefile.fpc

@@ -10,6 +10,10 @@ units=pastree pscanner pparser paswrite
 
 [compiler]
 options=-S2h
+targetdir=../$(OS_TARGET)
 
 [install]
 fpcpackage=y
+
+[default]
+fpcdir=../..