Subversion Repositories Kolibri OS

Rev

Rev 6117 | Rev 6144 | 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
 
6140 serge 11
ARFLAG = crs
5021 Serge 12
13
 
14
LIB_DIR:= $(SDK_DIR)/lib
15
16
 
6106 serge 17
INCLUDES+=-I$(SDK_DIR)/sources/freetype/include -I$(SDK_DIR)/sources/vaapi/libva-1.4.1
6140 serge 18
5021 Serge 19
 
6140 serge 20
LIBS:= -lavdevice.dll -lavformat.dll -lavcodec.dll -lavutil.dll -lswscale.dll
6117 serge 21
LIBS+= -lswresample.dll -lsound -lpixlib3 -lfreetype.dll -lva.dll -lgcc -lc.dll -lapp
5603 serge 22
5021 Serge 23
 
24
25
 
5603 serge 26
5021 Serge 27
 
28
		audio.c				\
29
		fplay.c				\
30
		vaapi.c				\
6140 serge 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