1 BUILDDIR = $(PWD)/build
5 SUBDIRS += extension_example
6 SUBDIRS += calculator_standalone
7 SUBDIRS += calculator_server
11 # configuration for lib, not adviced to modify it except for
12 # really small devices, because it changes the API.
13 # CFLAGS += -DNO_RDLINE_HISTORY
14 # CFLAGS += -DNO_RDLINE_KILL_BUF
15 # CFLAGS += -DCMDLINE_HAVE_FLOAT
16 CFLAGS += -DCMDLINE_HAVE_SOCKET
18 CFLAGS += -Wall -Werror
21 CFLAGS += -I$(SRCDIR)/lib
23 # needed if you want to parse float
32 for i in $(SUBDIRS) ; do \
33 make -C ${BUILDDIR}/$$i \
34 VPATH=${SRCDIR}/$$i $@ || exit $$? ; \