[fpc-pascal] Makefile with fpcmake
Damien Gerard
milipili at shikami.org
Fri Dec 21 15:56:01 CET 2007
I am trying to use fpcmake to compile my fpc programs (console, i386/
OS X Leopard, fpc 2.2.0)
ut I've got the following :
Shani [milipili] ...ects/Sayuri/trunk/sayuri % fpcmake -Tall -
vw
15
:50 #159
FPCMake Version 2.0.0 [2007/12/21]
Processing Makefile.fpc
Targets: "i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd
i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd
i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince
i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-
amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux
powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-
morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-
embedded x86_64-linux x86_64-freebsd x86_64-win64 x86_64-embedded arm-
linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian
powerpc64-linux powerpc64-embedded"
Globals:
FPCDIR = "../lib/fpc/2.2.0"
PACKAGESDIR = "$(FPCDIR)/packages $(FPCDIR)/packages/base $
(FPCDIR)/packages/extra $(FPCDIR)/packages"
UNITSDIR = "$(FPCDIR)/units/$(FULLTARGET)"
BASEDIR = "/Users/milipili/Projects/Sayuri/trunk/sayuri"
Required packages for linux-i386: rtl
Package "rtl": Looking for Makefile.fpc: "../lib/fpc/2.2.0/rtl/
Makefile.fpc ../lib/fpc/2.2.0/packages/rtl/Makefile.fpc ../lib/fpc/
2.2.0/packages/base/rtl/Makefile.fpc ../lib/fpc/2.2.0/packages/extra/
rtl/Makefile.fpc ../lib/fpc/2.2.0/packages/rtl/Makefile.fpc "
Package "rtl": Looking for Package.fpc: "../lib/fpc/2.2.0/rtl/
Package.fpc ../lib/fpc/2.2.0/units/i386-linux/rtl/Package.fpc "
Error: Target "linux", package "rtl" not found
I use dmg packages from the lazarus mirrors, so I have two separated
packages (binaries and sources).
I copied the source files (rtl,packages) into the /usr/local/lib/fpc/
2.2.0/ without any results.
Where I am wrong ?
PS: My Makefile.fpc
[package]
name=Sayuri
version=0.1
[require]
packages=
[target]
programs=sayuri
[compiler]
unitdir=languages
includedir=.
[default]
target=all
[clean]
files=$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
--
Damien Gerard
milipili at shikami.org
People who used magic without knowing what they were doing usually
came to a sticky end. All over the entire room, sometimes.
-- (Terry Pratchett, Moving Pictures)
More information about the fpc-pascal
mailing list