Rev 4349 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | |
2 | |||
3 | |||
4 | CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -march=pentium-mmx -fomit-frame-pointer |
||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | pngread.c pngrio.c pngrtran.c pngrutil.c \ |
||
31 | pngset.c pngtrans.c pngwio.c pngwrite.c \ |
||
32 | pngwtran.c pngwutil.c |
||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | ar cvrs $(LIBRARY).a $(OBJECTS) |
||
46 | mv -f $(LIBRARY).a ../../lib |
||
4362 | Serge | 47 | |
4349 | Serge | 48 | |
49 | $(LD) $(LDFLAGS) $(LIBPATH) -o $@ libpng16.def $(OBJECTS) $(LIBS) |
||
50 | $(STRIP) $@ |
||
51 | sed -f ../newlib/cmd1.sed libpng16.def > mem |
||
52 | sed -f ../newlib/cmd2.sed mem >libpng.inc |
||
53 | mv -f $@ ../../bin |
||
4362 | Serge | 54 | mv -f $(LIBRARY).dll.a ../../lib |
55 | |||
4349 | Serge | 56 | |
57 | |||
58 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
||
59 | |||
60 | |||
61 | -rm -f *.o |
||
62 | |||
63 | |||
64 |