#
#  A sample Makefile for the NetWare loadable modules making
#  on Linux and Win32 (Cygwin) platforms with the GNU utilities
#
#  Written by Pavel Novy <novy@feld.cvut.cz>
#  Version 1.0.21 (2001-12-23)
#

NLMSTUFF       = $(NLMSTUFF)

MAKELIST       = cw.Makefile \
		 redef.Makefile \
		 struct.Makefile \
		 typo.Makefile \
		 uninit.Makefile \
		 inline.Makefile \
		 impexp.Makefile

ifeq ($(OSTYPE), cygwin)
  OS_EXT       = .exe
  OS_BIN       = $(NLMSTUFF)/bin/
endif

MAKE           = $(OS_BIN)make$(OS_EXT)

all clean dist:
	@for m in $(MAKELIST)"" ; do $(MAKE) -f $$m $@ ; done
