30 lines
577 B
Makefile
30 lines
577 B
Makefile
# generic utility modules
|
|||
# (c) 2001 jannet it services
|
|||
# contact@jannet.de
|
|||
# $Id$
|
|||
|
|||
|
|||
|
|
include $(MODDIR)/make/defs.mk
|
||
|
|
|
||
|
lib.mk: Improve wine support
- Link import dlls via MS_LD alias wine lib.exe
- Niftify clean targets
|
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
|
||
|
lib.mk: Improve wine support
- Link import dlls via MS_LD alias wine lib.exe
- Niftify clean targets
|
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
|
|||
|
|
|