mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Reuse the tio_SOURCES variable in src/Makefile.am
The only difference between `tio` and `tionc` is the compile time flag 'TIO_NOCOLOR'.
This commit is contained in:
parent
fc79fea777
commit
6ce0d5b84b
1 changed files with 4 additions and 16 deletions
|
|
@ -14,26 +14,14 @@ tio_SOURCES = tty.c \
|
|||
include/tio/log.h \
|
||||
include/tio/error.h
|
||||
|
||||
tionc_SOURCES = tty.c \
|
||||
options.c \
|
||||
time.c \
|
||||
main.c \
|
||||
log.c \
|
||||
error.c \
|
||||
include/tio/tty.h \
|
||||
include/tio/options.h \
|
||||
include/tio/time.h \
|
||||
include/tio/print.h \
|
||||
include/tio/log.h \
|
||||
include/tio/error.h
|
||||
|
||||
tionc_CFLAGS = -D TIO_NOCOLOR
|
||||
|
||||
if ADD_SETSPEED2
|
||||
tio_SOURCES += setspeed2.c
|
||||
tionc_SOURCES += setspeed2.c
|
||||
endif
|
||||
|
||||
tionc_SOURCES = $(tio_SOURCES)
|
||||
|
||||
tionc_CFLAGS = -D TIO_NOCOLOR
|
||||
|
||||
if ENABLE_BASH_COMPLETION
|
||||
bashcompletiondir=@BASH_COMPLETION_DIR@
|
||||
bashcompletion_DATA=bash-completion/tio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue