~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for errors when writing the dump file to standard output, so
[sgt/agedu]
/
GNUmakefile
diff --git
a/GNUmakefile
b/GNUmakefile
index
a5c01fb
..
e4ebc99
100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-1,8
+1,6
@@
-# Makefile for
umlwrap
.
+# Makefile for
agedu
.
prefix = /usr/local
prefix = /usr/local
-libdir = $(prefix)/lib
-ourlibdir = $(prefix)/lib/umlwrap
bindir = $(prefix)/bin
mandir = $(prefix)/man
man1dir = $(mandir)/man1
bindir = $(prefix)/bin
mandir = $(prefix)/man
man1dir = $(mandir)/man1
@@
-20,11
+18,23
@@
ALLMODULES := $(sort $(AGEDU_MODULES))
ALLOBJS := $(patsubst %,%.o,$(ALLMODULES))
ALLDEPS := $(patsubst %,%.d,$(ALLMODULES))
ALLOBJS := $(patsubst %,%.o,$(ALLMODULES))
ALLDEPS := $(patsubst %,%.d,$(ALLMODULES))
-
binaries:
agedu
+
BINARIES =
agedu
-agedu: $(AGEDU_OBJS)
+binaries: $(BINARIES)
+
+agedu: config.h $(AGEDU_OBJS)
gcc $(LFLAGS) -o agedu $(AGEDU_OBJS)
gcc $(LFLAGS) -o agedu $(AGEDU_OBJS)
+config.h: configure
+ ./configure -q
+ rm -f Makefile # we keep using _this_ Makefile
+
+configure: configure.ac
+ aclocal
+ autoconf
+ autoheader
+ automake -a --foreign
+
INTERNALFLAGS=#
$(ALLOBJS): %.o: %.c
INTERNALFLAGS=#
$(ALLOBJS): %.o: %.c
@@
-38,6
+48,12
@@
$(MANPAGES): %.1: %.but
halibut --man=$*.1 $*.but
clean:
halibut --man=$*.1 $*.but
clean:
- rm -f agedu $(ALLOBJS) $(ALLDEPS)
+ rm -f $(ALLOBJS) $(ALLDEPS) $(MANPAGES) $(BINARIES)
+
+spotless: clean
+ rm -f config.h config.h.in config.log config.status configure
+ rm -f depcomp install-sh missing stamp-h1
+ rm -f Makefile.in aclocal.m4
+ rm -rf autom4te.cache .deps
-include $(ALLDEPS)
-include $(ALLDEPS)