jw-pkg/make/lib.mk
Jan Lindemann b19223b5c6 lib.mk: Improve wine support
- Link import dlls via MS_LD alias wine lib.exe
  - Niftify clean targets
2007-07-18 16:41:37 +00:00

30 lines
577 B
Makefile

# generic utility modules
# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
include $(MODDIR)/make/defs.mk
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
include $(MODDIR)/make/rules.mk
install: $(LOCAL_TARGETS) all $(INSTALLED_LIB_A) $(INSTALLED_LIB_SO) $(INSTALLED_LINKS_SO)
clean: libclean local_libclean
distclean: clean
local_libclean: clean.mingw clean.unix clean.all
clean.unix:
ifneq ($(TARGET),mingw)
rm -rf *.so.* *.so st*
endif
clean.mingw:
ifeq ($(TARGET),mingw)
rm -rf *.dll *.def
endif
clean.all:
rm -rf *.a *.o *~ st* .*.swp *.done