projects
/
oweals
/
uci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ec382edf0c78b820032dcb54871c8ab19202d91c
[oweals/uci.git]
/
Makefile
1
COPTS=-g -O2
2
CFLAGS=$(COPTS) -Wall -pedantic -std=gnu99 -Wno-unused -Werror
3
4
AR=ar
5
CC=gcc
6
RANLIB=ranlib
7
8
all: uci
9
10
cli.o: cli.c uci.h
11
uci: cli.o libuci.a
12
$(CC) $(CFLAGS) -o $@ $^
13
14
libuci.o: libuci.c parse.c uci.h list.c err.h
15
libuci.a: libuci.o
16
rm -f $@
17
$(AR) rc $@ $^
18
$(RANLIB) $@
19
20
clean:
21
rm -f uci *.[oa]