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