make: Standardized

This commit is contained in:
Jan Lindemann 2007-08-21 16:20:30 +00:00 committed by Jan Lindemann
commit 7bbf7c9a41
4 changed files with 13 additions and 23 deletions

View file

@ -4,12 +4,9 @@
# $Id$
all:
ifeq ($(shell pwd | xargs basename),devel)
install: $(INSTALLED_DOCS_DEVEL)
else
install: $(INSTALLED_DOCS_DIST)
endif
install: install_DOC
clean: doc.clean
distclean:
doc.clean:
rm -rf *~ .*.swp

View file

@ -1,9 +1,10 @@
include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/rules.mk
all:
clean:
rm -rf *.h *~ .*.swp *.done
distclean: clean
install: hdrdir.done $(INSTALLED_H)
clean: clean.include
install: install_HDR
clean.include:
rm -rf *.h *~ .*.swp *.done
include $(MODDIR)/make/rules.mk

View file

@ -3,17 +3,14 @@
# contact@jannet.de
# $Id$
include $(MODDIR)/make/defs.mk
TESTVAR := $(LDFLAGS)
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
include $(MODDIR)/make/rules.mk
install: $(LOCAL_TARGETS) all target-dir.done \
$(sort $(INSTALLED_LIB_A) $(INSTALLED_LIB_SO) $(INSTALLED_LINKS_SO) $(wildcard *.a))
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
install: install_LIB
clean: libclean local_libclean
distclean: clean
local_libclean: clean.mingw clean.unix clean.all
clean.unix:
@ -28,8 +25,3 @@ endif
clean.all:
rm -rf *.a *.o *~ st* .*.swp *.done
target-dir.done:
test -d $(INSTALL_LIBDIR) || $(INSTALL) -m $(EXEMODE) -o $(EXEOWNER) -d $(INSTALL_LIBDIR)
touch $@

View file

@ -8,8 +8,8 @@ LOCAL_LDFLAGS += -rdynamic
include $(MODDIR)/make/exe.mk
all:
install:
all: build_EXE
install: install_EXE
clean: clean.yapp
distclean: