summaryrefslogtreecommitdiff
path: root/package/cfgfs/src/Makefile
blob: 4f4b69ee2a971eff76164303ec420a4fbd53e9bc (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
32
33
34
SRCS+=		tool.c
SRCS+=		sys_linux.c
SRCS+=		replace.c
SRCS+=		compress.c
#SRCS+=		fts_debg.c
SRCS+=		cpr_get.c
SRCS+=		cpr_list.c
SRCS+=		cpr_lsth.c
SRCS+=		ft_creat.c
SRCS+=		ft_pack.c
SRCS+=		ft_packm.c
SRCS+=		fts_subs.c
SRCS+=		header.c
SRCS+=		minilzop.c
SRCS+=		unwraps.c
SRCS+=		wraps.c

# the compressor
SRCS+=		c_lzo1x1.c
CPPFLAGS+=	-Ibundled

OBJS=		${SRCS:.c=.o}

# build for the target
CPPFLAGS+=	-DSMALL -D__USE_GNU

# missing in uClibc
SRCS+=		fts.c
CPPFLAGS+=	-I.

all: fwcf.helper.out

fwcf.helper.out: ${OBJS}
	${CC} -o $@ ${OBJS} ${LDFLAGS}