> 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.
[EXAMPLE] #!/bin/bash all: ppc386 somefile.pas debug: ppc386 -vewh -gl -Crtoi somefile.pp clean: rm -f *.o *.ppu install: all cp somefile /usr/local/bin uninstall: rm -f /usr/local/bin/somefile [/EXAMPLE] Notes: The #!/bin/bash line isn't really necessary unless you have some shell-specific commands in your makefile. ( It is best to avoid this if possible ) The indentation of the commands below each section MUST be done with tabs, not spaces. This always catches me because I have have tab emulation turned on in my editor. Identifiers after the colon on a section line insure that the other section is up to date. The word "all" isn't magic, it is just conventional. If you invoke make without any arguments, it will default to the first section, regardless of what it is named. Lots more info here: http://www.gnu.org/manual/make/index.html HTH, - Jeff __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal