-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathGNUmakefile
More file actions
42 lines (35 loc) · 807 Bytes
/
GNUmakefile
File metadata and controls
42 lines (35 loc) · 807 Bytes
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
all:
@if test ! -f configure ; then \
$(MAKE) configure ; \
fi
@if test ! -f Makefile.in ; then \
$(MAKE) Makefile.in ; \
fi
@if test -f Makefile ; then \
$(MAKE) -f Makefile $@; \
else \
echo "Please run ./configure"; \
fi
%:
@if test -f Makefile ; then \
$(MAKE) -f Makefile $@; \
else \
echo "Please run ./configure"; \
fi
aclocal.m4:
aclocal
ltmain.sh:
libtoolize --install
Makefile.in: aclocal.m4
-automake --add-missing
autoconf
configure: ltmain.sh Makefile.in aclocal.m4
cleanauto:
-if test -f Makefile ; then \
$(MAKE) -f Makefile distclean ; \
fi
-rm -rf m4 autom4te.cache
-rm install-sh missing aclocal.m4 ltmain.sh depcomp
-rm config.sub config.guess configure
-find . -name Makefile.in -exec rm {} \;
.PHONY: all configure