integrer.c: use value_ macros in small segment
[piplib.git] / example / Makefile
blob5cb3d5957b0472211b92dc25d1f3d69fb0aa69b7
1 # Please enter here the locations for PipLib include and libraries if they
2 # aren't the default values (/usr/lib and /usr/include).
3 PIPLIB_INC = $(HOME)/progs/linux/include
4 PIPLIB_LIB = $(HOME)/progs/linux/lib
6 CC = gcc
7 LDLIBS= -lpiplib32
8 CFLAGS= -I $(PIPLIB_INC) -L $(PIPLIB_LIB)
10 example: example.c
11 @echo " /*-----------------------------------------------*"
12 @echo " * Making example *"
13 @echo " *-----------------------------------------------*/"
14 $(CC) example.c -o example $(CFLAGS) $(LDLIBS)
16 pip:
17 $(MAKE) total -C ../
19 clean:
20 @echo " /*-----------------------------------------------*"
21 @echo " * Cleaning example *"
22 @echo " *-----------------------------------------------*/"
23 -rm -f example example.exe core