piplib 1.3.3
[piplib.git] / example / Makefile
blobdec4bb2556b055501074475de4ab07e01d087ed2
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 = /usr/local/include #$(HOME)/progs/linux/include
4 PIPLIB_LIB = /usr/local/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