Initial import
[olsrd.git] / lib / dot_draw / Makefile.win32.in
1 OBJS =                  src/olsrd_plugin.o \
2                         src/olsrd_dot_draw.o
3
4 %.o:                    %.c
5                         gcc -mno-cygwin -O2 -Wall -c -DWIN32 \
6                         -I../../src/win32 -o$@ $<
7
8 olsrd_dot_draw.dll:     $(OBJS)
9                         gcc -mno-cygwin -shared -o olsrd_dot_draw.dll \
10                         $(OBJS) ../../src/win32/compat.o -lws2_32
11
12 clean:
13                         rm -f olsrd_dot_draw.dll
14                         find . -name \*~ -exec rm -f {} \;
15                         find src -name \*.o -exec rm -f {} \;
16
17 mclean:                 clean
18                         rm -f Makefile.win32
19
20 install:
21                         cp olsrd_dot_draw.dll ../..
22