annotate Gui/Makefile @ 6843:72a8d1d91472

1l :)
author arpi
date Tue, 30 Jul 2002 16:40:42 +0000
parents 77980ab4e296
children 0fa27966ac47
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
2112
3997f8eec36e BSD fixes
arpi
parents: 2025
diff changeset
7 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
2024
8cb7643ef739 Remved cpu specific compiler optimizations, these should if at all be added dynamically by configure.
atmos4
parents: 1866
diff changeset
10 -fexpensive-optimizations -fschedule-insns2 -Wall
2025
0653e90b3118 some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents: 2024
diff changeset
11 ifeq ($(TARGET_ARCH_X86),yes)
0653e90b3118 some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents: 2024
diff changeset
12 OPTIMIZE += -malign-double
0653e90b3118 some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents: 2024
diff changeset
13 endif
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16
6794
77980ab4e296 - add preferences support (first try)
pontscho
parents: 6625
diff changeset
17 SRCS = wm/ws.c wm/wsconv.c app.c events.c interface.c cfg.c \
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
18 bitmap/bitmap.c bitmap/tga/tga.c bitmap/bmp/bmp.c bitmap/png/png.c \
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
19 skin/skin.c skin/font.c skin/cut.c \
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
20 mplayer/mplayer.c mplayer/widgets.c mplayer/play.c \
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
21 mplayer/gtk/menu.c mplayer/gtk/mb.c mplayer/gtk/about.c mplayer/gtk/pl.c mplayer/gtk/sb.c mplayer/gtk/fs.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/gtk/eq.c
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
22 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
23
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 rm -f $(LIB)
6036
5d543521dd06 patchs by Bj«Órn Sandell <biorn@dce.chalmers.se>:
pl
parents: 2112
diff changeset
33 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
52 .depend: Makefile config.mak
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 endif