Statistics
| Branch: | Revision:

grapes / som / ChunkTrading / Makefile @ a0384990

History | View | Annotate | Download (713 Bytes)

1 a0384990 Luca Abeni
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 15790844 Luca Abeni
15 a0384990 Luca Abeni
CFLAGS += $(call cc-option, -funit-at-a-time)
16
17
BASE = ../..
18 15790844 Luca Abeni
19 6774d943 Luca Abeni
CPPFLAGS = -I$(BASE)/include -I..
20 15790844 Luca Abeni
21 6774d943 Luca Abeni
OBJS = chunk_encoding.o chunk_delivery.o
22 15790844 Luca Abeni
23
all: libtrading.a
24
25
%.a: $(OBJS)
26
	ar rcs $@ $^
27
28
clean:
29
	rm -f *.a
30
	rm -f *.o