#C=gcc
C=g++ -I$h
L=g++ -I$h $h/xtekplot1.o -lm -lX11 -L/usr/X11R6/lib
#F=f90
F=g77

all: sinus beispiel1 beispiel1b beispiel1c beispiel2 beispiel3 beispiel3b beispiel3c hanoi xvollbildtest

sinus: sinus.c
	$L sinus.c -o sinus

beispiel1: beispiel1.c
	$L beispiel1.c -o beispiel1

beispiel1b: beispiel1b.c
	$L beispiel1b.c -o beispiel1b

beispiel1c: beispiel1c.c
	$L beispiel1c.c -o beispiel1c

beispiel2: beispiel2.c
	$L beispiel2.c -o beispiel2

beispiel3: beispiel3.c
	$L beispiel3.c -o beispiel3

beispiel3b: beispiel3b.c
	$L beispiel3b.c -o beispiel3b

beispiel3c: beispiel3c.c
	$L beispiel3c.c -o beispiel3c

hanoi: hanoi.cc
	$L hanoi.cc -o hanoi

xvollbildtest: xvollbildtest.cc
	$L xvollbildtest.cc -o xvollbildtest

beispiel1f: beispiel1f.o
	$L beispiel1f.o $h/xtekplot_for.o -o beispiel1f
beispiel1f.o: beispiel1f.for
	$F beispiel1f.for -c

clean:
	rm -f beispiel1 beispiel1? beispiel2 beispiel3 beispiel3? sinus hanoi
	rm -f xvollbildtest
	rm -f *.o *~
