blob: 88d970cef9180deb37ddfc18ea6f29c56ec40406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
bin_PROGRAMS = calculer
AM_CFLAGS = -Wall -Wextra
AM_LDFLAGS =
calculer_SOURCES = calculer.c
if DEBUG_COND
else
AM_CFLAGS += -DNDEBUG -Wno-unused-variable
endif
if USE_READLINE_COND
AM_LDFLAGS += -lreadline
else
calculer_SOURCES += linenoise.c
AM_CFLAGS += -I../linenoise/
BUILT_SOURCES: linenoise.c
linenoise.c:
cp ../linenoise/linenoise.c .
endif
|