Rev 6865 | Rev 8123 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6865 | serge | 1 | |
5024 | Serge | 2 | LD = kos32-ld |
3 | AR = kos32-ar |
||
6865 | serge | 4 | |
5024 | Serge | 5 | |
6 | CONTRIB_DIR:= $(abspath ../../../..) |
||
6865 | serge | 7 | |
5024 | Serge | 8 | |
6865 | serge | 9 | |
5024 | Serge | 10 | |
6865 | serge | 11 | |
5024 | Serge | 12 | |
6865 | serge | 13 | INCLUDES+= -I $(CONTRIB_DIR)/toolchain/binutils/bfd -I $(CONTRIB_DIR)/toolchain/binutils/include |
14 | LIBPATH:= -L./ -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib |
||
8122 | maxcodehac | 15 | |
5024 | Serge | 16 | |
6865 | serge | 17 | pxdraw/context.c \ |
18 | pxdraw/dutils.c \ |
||
19 | pxdraw/region.c \ |
||
20 | winlib/button.c \ |
||
21 | winlib/winlib.c \ |
||
22 | $(NULL) |
||
23 | |||
24 | |||
5024 | Serge | 25 | fontlib.c \ |
6865 | serge | 26 | tview.c \ |
27 | $(NULL) |
||
28 | |||
5024 | Serge | 29 | |
6865 | serge | 30 | |
5024 | Serge | 31 | |
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
6865 | serge | 37 | $(AR) crs $@ $(LIB_OBJS) |
38 | |||
5024 | Serge | 39 | |
6865 | serge | 40 | $(LD) $(LDFLAGS) $(LIBPATH) -o txview.dll $(OBJECTS) -lfreetype.dll -lpixlib3 -lwin -lgcc -lc.dll |
41 | # objdump -d txview.dll > txview.lst |
||
42 | objcopy txview.dll txview -O binary |
||
43 | |||
5024 | Serge | 44 | |
6865 | serge | 45 | /bin/rm -rf *.o txview |
46 | |||
47 | |||
5024 | Serge | 48 | $(CC) $(CFLAGS) $(INCLUDES) -o $@ $<> |
49 |