projects
/
maevies
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
136844d23fc26775b0212e3b5d244e0597064ebb
[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 *~