Makefile | Makefile | |||
---|---|---|---|---|
# Please enter here the locations for CloogLib include and libraries if the y | # Please enter here the locations for the CLooG include and library if they | |||
# aren't the default values (/usr/lib and /usr/include). | # aren't the default values (/usr/lib and /usr/include). | |||
CLOOG_INC = $(HOME)/progs/linux/include | CLOOG_INC = $(HOME)/usr/include | |||
CLOOG_LIB = $(HOME)/progs/linux/lib | CLOOG_LIB = $(HOME)/usr/lib | |||
CC = gcc | CC = gcc | |||
LDLIBS= -lcloog | LDLIBS= -lcloog-isl | |||
CFLAGS= -I $(CLOOG_INC) -L $(CLOOG_LIB) | CFLAGS= -DCLOOG_INT_GMP -I $(CLOOG_INC) -L $(CLOOG_LIB) | |||
example: example.c | example: example.c example-isl.c | |||
@echo " /*---------------------------------------------- -*" | @echo " /*---------------------------------------------- -*" | |||
@echo " * Making example *" | @echo " * Making examples *" | |||
@echo " *---------------------------------------------- -*/" | @echo " *---------------------------------------------- -*/" | |||
$(CC) example.c -o example $(CFLAGS) $(LDLIBS) | $(CC) example.c -o example $(CFLAGS) $(LDLIBS) | |||
$(CC) example-isl.c -o example-isl $(CFLAGS) $(LDLIBS) | ||||
clean: | clean: | |||
@echo " /*---------------------------------------------- -*" | @echo " /*---------------------------------------------- -*" | |||
@echo " * Cleaning example *" | @echo " * Cleaning examples *" | |||
@echo " *---------------------------------------------- -*/" | @echo " *---------------------------------------------- -*/" | |||
-rm -f example example.exe core | -rm -f example example.exe example-isl example-isl.exe core | |||
End of changes. 8 change blocks. | ||||
8 lines changed or deleted | 9 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |