Browse Source

* fixed compilation of ptest code

pierre 23 years ago
parent
commit
8c68931d15
2 changed files with 3 additions and 3 deletions
  1. 2 2
      tests/Makefile
  2. 1 1
      tests/Makefile.fpc

+ 2 - 2
tests/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2002/11/04]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2002/10/10]
 #
 default: allexectests
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
@@ -1090,7 +1090,7 @@ DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/dos test/un
 .PHONY: allpreps
 allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
-	$(FPC) test/cg/ptest.pp
+	$(FPC) -FE. -Fuunits test/cg/ptest.pp
 	$(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
 	$(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 .PHONY: alltbs alltbf allwebtbs allwebtbf alltest alltests

+ 1 - 1
tests/Makefile.fpc

@@ -95,7 +95,7 @@ DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/dos test/un
 
 allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
-        $(FPC) test/cg/ptest.pp
+        $(FPC) -FE. -Fuunits test/cg/ptest.pp
         $(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
         $(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)