Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (12 sloc) 0.45 kB
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
1
2 all: stackoverflow-cli
3
73168c1 @ebobby Search API requests now working. Not parsed yet, just JSON.
ebobby authored
4 OBJ = stackoverflow.o requests.o arguments.o stackoverflow-cli.o
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
5
73168c1 @ebobby Search API requests now working. Not parsed yet, just JSON.
ebobby authored
6 stackoverflow.o: stackoverflow.c stackoverflow-cli.h
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
7 requests.o: requests.c stackoverflow-cli.h
f54c1b5 @ebobby Initial command line arguments processing.
ebobby authored
8 arguments.o: arguments.c stackoverflow-cli.h
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
9 stackoverflow-cli.o: stackoverflow-cli.c stackoverflow-cli.h
10
11 %.o: %.c
822623c @ebobby searchCommand() now actually processes the JSON output of the API cal…
ebobby authored
12 $(CC) -ggdb -std=c99 -c $< -o $@
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
13
14 stackoverflow-cli: $(OBJ)
822623c @ebobby searchCommand() now actually processes the JSON output of the API cal…
ebobby authored
15 $(CC) -ggdb -std=c99 -o $@ -lcurl -ljson $(OBJ)
4f71f57 @ebobby Added a simple Makefile.
ebobby authored
16
17 clean:
18 rm -rf *.o stackoverflow-cli
Something went wrong with that request. Please try again.