Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / glib / tests / makefile.msc.in
blob33bdafebf996e8b038bb2182a6f2285273de2b38
1 ## Makefile for building the GLib test programs with Microsoft C\r
2 ## Use: nmake -f makefile.msc check\r
3 \r
4 ################################################################\r
5 \r
6 # Nothing much configurable below\r
7 \r
8 # cl -? describes the options\r
9 CC = cl -G5 -GF -Ox -W3 -MD -nologo\r
11 # No general LDFLAGS needed\r
12 LDFLAGS = /link\r
14 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@\r
16 CFLAGS = -I.. -DHAVE_CONFIG_H\r
18 TESTS = \\r
19         array-test.exe  \\r
20         dirname-test.exe\\r
21         hash-test.exe   \\r
22         list-test.exe   \\r
23         node-test.exe   \\r
24         relation-test.exe\\r
25         slist-test.exe  \\r
26         string-test.exe \\r
27         strfunc-test.exe\\r
28         tree-test.exe   \\r
29         type-test.exe\r
31 all :   $(TESTS)\r
33 .c.exe :\r
34         $(CC) $(CFLAGS) -c $<\r
35         $(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(GLIB_VER).lib $(LDFLAGS) /subsystem:console\r
37 check:  all\r
38         for %p in ($(TESTS)) do %p\r
40 clean:\r
41         del *.exe\r
42         del *.obj\r
43         del *.dll\r
44         del *.lib\r
45         del *.err\r
46         del *.map\r
47         del *.sym\r
48         del *.exp\r
49         del *.pdb\r