[fpc-pascal]make files

James Mills prologic at daisy.ods.org
Mon Sep 8 12:44:29 CEST 2003


On Sun, Sep 07, 2003 at 04:30:39PM -0400, Frank W McCormick wrote:
> Hi all
> 
> Can someone give me a simple example of  a makefile suitable for just
> simple compiling of one file ? I am so used to running FPC
> from the command line that make is foreign to me. 

Catch!

cheers
James

-- 
-
-Zero Defect Software Engineers Group - ZDSEG
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.
-------------- next part --------------
psb=psb.pas

all: psb

psb: $(psb)
	fpc $(psb)

debug: $(psb)
	fpc -bl -gg $(psb)

clean:
	rm -f *ppu* *.o psb *~


More information about the fpc-pascal mailing list