-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.in
56 lines (42 loc) · 1.39 KB
/
Makefile.in
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# TTS - track your time.
# Copyright (c) 2012-2014 Felicity Tarnell.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
# freely. This software is provided 'as-is', without any express or implied
# warranty.
.SUFFIXES: .c .o .d .h
VPATH = @top_srcdir@
CC = @CC@
MAKEDEPEND = @CC@ -M
CPPFLAGS = @CPPFLAGS@ -D_XOPEN_SOURCE_EXTENDED
CFLAGS = @CFLAGS@ -I@top_srcdir@ -I@top_builddir@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
OBJS = tts.o wide.o entry.o ui.o functions.o commands.o bindings.o \
str.o style.o wcslcpy.o
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
tts: ${OBJS} vers.o
${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} vers.o -o tts ${LIBS} @CURSES_LIB@
install:
${INSTALL} -d -m 0755 ${bindir}
${INSTALL} -c -m 0755 tts ${bindir}
.c.o:
${CC} ${CPPFLAGS} ${CFLAGS} -c $<
.c.d:
$(MAKEDEPEND) $(CPPFLAGS) $(CFLAGS) $< -o $@
vers.c: vers.c.sh configure.ac
sh @top_srcdir@/vers.c.sh @top_srcdir@/configure.ac
clean:
rm -f tts ${OBJS} $(OBJS:.o=.d)
depend: $(OBJS:.o=.d)
sed '/^# Do not remove this line -- make depend needs it/,$$ d' \
<Makefile >Makefile.new
echo '# Do not remove this line -- make depend needs it' >>Makefile.new
cat *.d >> Makefile.new
mv Makefile.new Makefile
.PHONY: depend clean install libuv
# Do not remove this line -- make depend needs it