Changed source template from the C++ one, in esbox, to the C one. Added librest as...
[maevies] / examples / Makefile
1 CC = gcc
2
3 LIBS = `pkg-config rest --libs`
4
5 FLAGS = `pkg-config rest --cflags`
6
7 gtranslate: gtranslate.o
8         $(CC) -o gtranslate gtranslate.o $(LIBS)
9
10 gtranslate.o: gtranslate.c
11         $(CC) -c gtranslate.c $(FLAGS)
12
13 all: gtranslate
14
15 clean:
16         rm -rf gtranslate gtranslate.o *~