aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcli/Makefile
blob: 6bc805ae42e3cb977fb7cfc3b319ba80a9476b87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
vpath %.c ${LIBCLI_SRC}
vpath %.h ${LIBCLI_SRC}

CFLAGS += \
	-DDO_CRYPT=0 \
	-DDO_FILE=0 \
	-DDO_FILTER=0 \
	-DDO_IDLE_TIMEOUT=0 \
	-DDO_MALLOC=0 \
	-DDO_PRINT_BUFFERED=0 \
	-DDO_REGULAR=0 \
	-DDO_SOCKET=0 \
	-DDO_TAB_COMPLETION=1 \
	-DDO_TELNET=0 \
	-DCLI_MAX_LINE_WORDS=36
CFLAGS += -Wno-unused-parameter

all: libcli.a

libcli.a: libcli.o
	$(AR) rcs $@ $^

clean:
	rm -f libcli.[ao]