Subversion Repositories Kolibri OS

Rev

Rev 5603 | Rev 6106 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5021 Serge 1
 
2
3
 
4
CC = kos32-gcc
5
AR = kos32-ar
6
LD = kos32-ld
7
CPP= kos32-g++
8
STRIP = kos32-strip
9
10
 
5603 serge 11
ARFLAG = crs
5021 Serge 12
13
 
14
LIB_DIR:= $(SDK_DIR)/lib
15
16
 
5603 serge 17
INCLUDES+=-I$(SDK_DIR)/sources/freetype/include
18
#-I$(SDK_DIR)/sources/vaapi/libva-1.4.1
19
5021 Serge 20
 
5603 serge 21
LIBS:= -lsync -lavdevice.dll -lavformat.dll -lavcodec.dll -lavutil.dll -lswscale.dll
22
LIBS+= -lswresample.dll -lsound -lpixlib3 -lfreetype.dll -lva.dll -lgcc -lc.dll -lapp
23
5021 Serge 24
 
25
26
 
5603 serge 27
5021 Serge 28
 
29
		audio.c				\
30
		fplay.c				\
31
		video.c				\
5603 serge 32
		utils.c				\
5021 Serge 33
		skin/skin.asm			\
34
		winlib/button.c			\
35
		winlib/caption.c		\
36
		winlib/fontlib.c		\
37
		winlib/frame.c			\
38
		winlib/panel.c			\
39
		winlib/window.c
40
41
 
42
43
 
44
45
 
46
47
 
48
	$(LD) $(LDFLAGS) $(LIBPATH) --subsystem native -o $@ $(OBJECTS) $(LIBS)
6076 serge 49
	kos32-objcopy $@ -O binary
5021 Serge 50
51
 
52
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
53
54
 
55
	$(FASM) $< $@
56
57
 
58
 
59
	-rm -f *.o
60
61
 
62