summaryrefslogtreecommitdiff
path: root/cloog-0.16.3/examples/example/Makefile
blob: 9b6150b7e2ba6735637b260e81f98dff2fd5d81a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Please enter here the locations for CloogLib include and libraries if they
# aren't the default values (/usr/lib and /usr/include).
CLOOG_INC = $(HOME)/progs/linux/include
CLOOG_LIB = $(HOME)/progs/linux/lib

CC = gcc
LDLIBS= -lcloog
CFLAGS= -I $(CLOOG_INC) -L $(CLOOG_LIB)


example: example.c
	@echo "             /*-----------------------------------------------*"
	@echo "              *                Making example                 *"
	@echo "              *-----------------------------------------------*/"
	$(CC) example.c -o example $(CFLAGS) $(LDLIBS)

clean:
	@echo "             /*-----------------------------------------------*"
	@echo "              *               Cleaning example                *"
	@echo "              *-----------------------------------------------*/"
	-rm -f example example.exe core