mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 13:37:38 +01:00
make: Standardized
This commit is contained in:
parent
ea67ea66ce
commit
7bbf7c9a41
4 changed files with 13 additions and 23 deletions
14
make/lib.mk
14
make/lib.mk
|
|
@ -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 $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue