CLooG 0.18.4
[cloog.git] / examples / example / Makefile
blob88c665e4152ec6f5db74f6f11244dc8a08e75927
1 # Please enter here the locations for the CLooG include and library if they
2 # aren't the default values (/usr/lib and /usr/include).
3 CLOOG_INC = $(HOME)/usr/include
4 CLOOG_LIB = $(HOME)/usr/lib
6 CC = gcc
7 LDLIBS= -lcloog-isl
8 CFLAGS= -DCLOOG_INT_GMP -I $(CLOOG_INC) -L $(CLOOG_LIB)
10 example: example.c example-isl.c
11 @echo " /*-----------------------------------------------*"
12 @echo " * Making examples *"
13 @echo " *-----------------------------------------------*/"
14 $(CC) example.c -o example $(CFLAGS) $(LDLIBS)
15 $(CC) example-isl.c -o example-isl $(CFLAGS) $(LDLIBS)
17 clean:
18 @echo " /*-----------------------------------------------*"
19 @echo " * Cleaning examples *"
20 @echo " *-----------------------------------------------*/"
21 -rm -f example example.exe example-isl example-isl.exe core