Rev 4930 | Rev 5600 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4503 | Serge | 1 | |
2 | IMPLIB= libeglut.dll.a |
||
4768 | Serge | 3 | |
4503 | Serge | 4 | |
4866 | Serge | 5 | AR = kos32-ar |
6 | LD = kos32-ld |
||
7 | |||
4768 | Serge | 8 | |
5022 | Serge | 9 | |
4503 | Serge | 10 | |
4930 | Serge | 11 | |
4503 | Serge | 12 | |
4930 | Serge | 13 | LDFLAGS+= --out-implib $(IMPLIB) |
4866 | Serge | 14 | |
15 | |||
4503 | Serge | 16 | LIBS:= -ldll -legl.dll -lGL.dll -lc.dll |
4866 | Serge | 17 | |
4503 | Serge | 18 | |
19 | |||
20 | |||
21 | |||
22 | eglut_screen.c\ |
||
4768 | Serge | 23 | render.c \ |
24 | swap.c |
||
25 | |||
4503 | Serge | 26 | |
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
4768 | Serge | 34 | |
4503 | Serge | 35 | |
36 | $(AR) crs $(LIBRARY).a $(OBJECTS) |
||
4866 | Serge | 37 | mv -f $(LIBRARY).a ../../lib |
4503 | Serge | 38 | |
39 | |||
4768 | Serge | 40 | $(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OBJECTS) $(LIBS) |
41 | mv -f $(LIBRARY).dll ../../bin |
||
42 | mv -f $(IMPLIB) ../../lib |
||
43 | |||
44 | |||
45 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
||
4503 | Serge | 46 | |
47 | |||
48 | -rm -f *.o |
||
49 | |||
50 | |||
51 |