Mercurial > mplayer.hg
comparison Gui/Makefile @ 17396:418f64d01554
Change LIB to LIBNAME to fix compilation.
This is in line with the other Makefiles and does not clash with FFmpeg.
author | diego |
---|---|
date | Sun, 15 Jan 2006 01:56:17 +0000 |
parents | 7af5fe0860a1 |
children | 399f91dd4fbe |
comparison
equal
deleted
inserted
replaced
17395:0bc15a27a26b | 17396:418f64d01554 |
---|---|
1 | |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | 1 include ../config.mak |
5 include config.mak | 2 include config.mak |
3 | |
4 LIBNAME = libgui.a | |
6 | 5 |
7 INCDIR = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) | 6 INCDIR = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) |
8 | 7 |
9 OPTIMIZE = $(OPTFLAGS) | 8 OPTIMIZE = $(OPTFLAGS) |
10 | 9 |
21 .c.o: | 20 .c.o: |
22 $(CC) -c $(CFLAGS) -o $@ $< | 21 $(CC) -c $(CFLAGS) -o $@ $< |
23 | 22 |
24 ### TARGETS ### | 23 ### TARGETS ### |
25 | 24 |
26 $(LIB): .depend $(OBJS) | 25 $(LIBNAME): .depend $(OBJS) |
27 rm -f $(LIB) | 26 rm -f $(LIBNAME) |
28 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) | 27 $(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS) |
29 $(RANLIB) $(LIB) | 28 $(RANLIB) $(LIBNAME) |
30 | 29 |
31 all: $(LIB) | 30 all: $(LIBNAME) |
32 | 31 |
33 clean: | 32 clean: |
34 rm -rf $(OBJS) *.o *~ *.bak main $(LIB) .depend | 33 rm -rf $(OBJS) *.o *~ *.bak main $(LIBNAME) .depend |
35 | 34 |
36 #dep: depend | 35 #dep: depend |
37 # | 36 # |
38 #depend: | 37 #depend: |
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | 38 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null |