Statistics
| Branch: | Revision:

grapes / som / ChunkBuffer / Makefile @ a0384990

History | View | Annotate | Download (687 Bytes)

1
include ../utils.mak
2

    
3
CFLAGS = -g -Wall
4
CFLAGS += $(call cc-option, -Wdeclaration-after-statement)
5
CFLAGS += $(call cc-option, -Wno-switch)
6
CFLAGS += $(call cc-option, -Wdisabled-optimization)
7
CFLAGS += $(call cc-option, -Wpointer-arith)
8
CFLAGS += $(call cc-option, -Wredundant-decls)
9
CFLAGS += $(call cc-option, -Wno-pointer-sign)
10
CFLAGS += $(call cc-option, -Wcast-qual)
11
CFLAGS += $(call cc-option, -Wwrite-strings)
12
CFLAGS += $(call cc-option, -Wtype-limits)
13
CFLAGS += $(call cc-option, -Wundef)
14

    
15
CFLAGS += $(call cc-option, -funit-at-a-time)
16

    
17
BASE = ../..
18

    
19
CPPFLAGS = -I$(BASE)/include
20

    
21
OBJS = buffer.o config.o
22

    
23
all: libcb.a
24

    
25
%.a: $(OBJS)
26
	ar rcs $@ $^
27

    
28
clean:
29
	rm -f *.a
30
	rm -f *.o