aboutsummaryrefslogblamecommitdiffstats
path: root/lualdap/Makefile.win
blob: 78d23a4a560705affe3e251ee98522fce60f73a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
           
         











                                    
                                                                                     






                                                         
T= lualdap
V= 1.1.0

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) $(LDAP_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