blob: 151601e7fbd02a1462680236e9db330cfbb5d545 (
plain)
1
2
3
4
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
include ../../config.mak
include ../config.mak
include ../bitmap/bitmap.mak
include ../gui.mak
LIB = mplayer
INCDIR = -I. -I../event -I../wm -I../skin $(GTKINC) $(EXTRA_INC)
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
-fexpensive-optimizations -fschedule-insns2 -Wall
ifeq ($(TARGET_ARCH_X86),yes)
OPTIMIZE += -malign-double
endif
CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
### TARGETS ###
default: .depend $(MPLAYEROBJS)
all: default
clean:
rm -rf $(MPLAYEROBJS) *.o *~ *.bak .depend
distclean: clean
dep: depend
depend: .depend
.depend: Makefile ../config.mak ../gui.mak ../bitmap/bitmap.mak
$(CC) -MM $(CFLAGS) $(MPLAYERSRCS) 1>.depend
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif
|