summaryrefslogtreecommitdiff
path: root/sqlite3/GNUmakefile
blob: 3aabf23db0049164d67fb025907c0a7de9c8eae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TOPDIR = ..

SUBDIRS =

-include $(TOPDIR)/makefiles/gmake/platform.mk

LOCAL_STATIC_LIB_OBJS = \
	sqlite3.o

LOCAL_STATIC_LIB = \
	libsqlite3.a

-include $(TOPDIR)/makefiles/gmake/sub.mk

# override all flags here, not just CFLAGS, compiler.mk
# is geared towards C++ compatibility, Sqlite is strict C
ALL_CFLAGS = -O3 -I. $(SO_COMPILE_FLAGS)

$(LOCAL_STATIC_LIB): $(LOCAL_STATIC_LIB_OBJS)
	ar rcs $(LOCAL_STATIC_LIB) $(LOCAL_STATIC_LIB_OBJS)

local_all: $(LOCAL_STATIC_LIB)

local_clean:
	@rm -f $(LOCAL_STATIC_LIB) $(LOCAL_STATIC_LIB_OBJS)

local_distclean:

local_install:

local_test: