aboutsummaryrefslogblamecommitdiffstats
path: root/lualdap/Makefile.win
blob: dfb85590969d0432e03f8b10b2bb7a2b2abb1a38 (plain) (tree)





















                                                                                         
T= lualdap
V= 1.0.2

include config.win

SRCS= src\$T.c
OBJS= src\$T.obj

lib: src\$(LIBNAME)

.c.obj:
	$(CC) /c /Fo$@ $(CFLAGS) $<

src\$(LIBNAME): $(OBJS)
	link /dll /def:src\$T.def /out:src\$(LIBNAME) $(OBJS) $(LUA_LIB) $(OPENLDAP_LIB)

install: src\$(LIBNAME)
	IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
	copy src\$(LIBNAME) $(LUA_LIBDIR)

clean:
	del src\$(LIBNAME) $(OBJS) src\$T.lib src\$T.exp