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

@ -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 $@