"Fossies" - the Fresh Open Source Software Archive

Member "fly-2.0.1/Makefile" (17 Jun 2009, 595 Bytes) of package /linux/www/old/fly-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #This makefile should suffice on most Unix systems. For other systems,
    2 #you may well need to rewrite it. 
    3 #
    4 # If you already have gd installed, use the line below and comment out the
    5 # following line
    6 #       GD = /path/to/gd/directory
    7 LIBDIRS = -L$(GD)
    8 INCDIRS = -I$(GD)
    9 CC = gcc
   10 
   11 CFLAGS = -O -pedantic -Wall $(INCDIRS) $(LIBDIRS)
   12 LIBS = -lgd -lm -lz -lfreetype -lpng -ljpeg #-lXpm 
   13 
   14 all: fly
   15 
   16 fly: fly.o
   17 	$(CC) $(CFLAGS) -o fly fly.o $(LIBS)
   18 
   19 fly.o: fly.c fly.h
   20 	$(CC) -c $(CFLAGS) fly.c
   21 
   22 mostlyclean:
   23 	rm -f fly.o temp.gif core; make clean;
   24 clean:
   25 	rm -f fly.o fly temp.gif core; make clean;
   26