###########################################################################
# XAERO - Makefile
# ----------------
#  Name:    Makefile
#  Date:    Wed Aug 28 18:41:57 1996
#  Authors: Andreas, Hartmut
#
# This Makefile generates some small examples using the fsb-library
# created by xaero.

###########################################################################
# Path where the includes and the library resist

AEROPATH = ../../src
FSBLIB = $(AEROPATH)/libfsb.o

CC = gcc
CFLAGS = -I$(AEROPATH) -Wall -O
LDFLAGS =

###########################################################################
# generation of the example files

all:: example1 example2

example1: example1.o $(FSBLIB) 
	$(CC) $(LDFLAGS) -o $@ example1.o $(FSBLIB) $(DEBUG) -lm

example2: example2.o $(FSBLIB) 
	$(CC) $(LDFLAGS) -o $@ example2.o $(FSBLIB) $(DEBUG) -lm

example1.o: example1.c
example2.o: example2.c


.c.o:
	$(CC) $(CFLAGS) -c $*.c 

clean::
	$(RM) *.o

#eof
