annotate Gui/Makefile @ 1812:d2d6a26ddb02

majd fix play&stop&pause&redraw
author pontscho
date Fri, 31 Aug 2001 21:19:52 +0000
parents d237c5d4b216
children 07fd7d1b8cc9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 LIB = libgui.a
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 include ../config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 include config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 include bitmap/bitmap.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 MPLAYERDIR = mplayer/
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 include gui.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 -fexpensive-optimizations -malign-double -fschedule-insns2 -mwide-multiply -Wall
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 $(MAKE) -C mplayer
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 rm -f $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 ar rc $(LIB) $(OBJS) $(MPLAYEROBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 $(MAKE) -C mplayer clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 .depend: Makefile config.mak config.h gui.mak bitmap/bitmap.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 $(MAKE) -C mplayer depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 endif