-
Notifications
You must be signed in to change notification settings - Fork 50
/
Makefile.in
36 lines (28 loc) · 953 Bytes
/
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
srcdir = @srcdir@
CC = @CC@
CFLAGS = @CFLAGS@ -I.
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
VERSION = @PACKAGE_VERSION@
VPATH = $(srcdir)
OBJ = attach.o master.o main.o
SRC = $(srcdir)/attach.c $(srcdir)/master.c $(srcdir)/main.c
TARFILES = $(srcdir)/README $(srcdir)/COPYING $(srcdir)/Makefile.in \
$(srcdir)/config.h.in $(SRC) \
$(srcdir)/dtach.h $(srcdir)/dtach.spec $(srcdir)/configure \
$(srcdir)/configure.ac $(srcdir)/dtach.1
dtach: $(OBJ)
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
clean:
rm -f dtach $(OBJ) dtach-$(VERSION).tar.gz
distclean: clean
rm -f config.h Makefile config.log config.status config.cache
tar:
mkdir dtach-$(VERSION)
cp $(TARFILES) dtach-$(VERSION)
tar -cf dtach-$(VERSION).tar dtach-$(VERSION)/
gzip -9f dtach-$(VERSION).tar
rm -rf dtach-$(VERSION)
attach.o: @srcdir@/attach.c @srcdir@/dtach.h config.h
master.o: @srcdir@/master.c @srcdir@/dtach.h config.h
main.o: @srcdir@/main.c @srcdir@/dtach.h config.h