Mercurial > mplayer.hg
annotate vidix/Makefile @ 17670:f5f338e543b6
Fix rgb32tobgr16, rgb32to15, and rgb32tobgr15. All had the same problem that
was fixed in rgb32to16 about a year ago: using only the first 8 bits of the
32-bit pixel.
author | pacman |
---|---|
date | Fri, 24 Feb 2006 09:52:59 +0000 |
parents | ce1ba8fd57e7 |
children | ac071d4aafd2 |
rev | line source |
---|---|
3991 | 1 LIBNAME = libvidix.a |
4030 | 2 SUBDIRS = drivers |
3 DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done | |
3991 | 4 |
5 include ../config.mak | |
6 | |
7 SRCS = vidixlib.c | |
8 OBJS = $(SRCS:.c=.o) | |
9 | |
7073
b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
4030
diff
changeset
|
10 CFLAGS = $(OPTFLAGS) |
3991 | 11 |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
17 $(CC) -c $(CFLAGS) -o $@ $< | |
18 | |
4030 | 19 all: $(SUBDIRS) $(LIBNAME) |
20 $(DO_MAKE) | |
21 | |
3991 | 22 $(LIBNAME): $(OBJS) |
23 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 24 $(RANLIB) $(LIBNAME) |
3991 | 25 |
26 clean: | |
27 rm -f *.o *.a *~ | |
4030 | 28 $(DO_MAKE) |
3991 | 29 |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
13702
diff
changeset
|
30 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
13702
diff
changeset
|
31 rm -f .depend test |
4030 | 32 $(DO_MAKE) |
3991 | 33 |
34 dep: depend | |
4030 | 35 $(DO_MAKE) |
3991 | 36 |
37 depend: | |
38 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
39 | |
4030 | 40 install: |
41 $(DO_MAKE) | |
42 | |
13702
3c6a2b6437df
make uninstall was leaving vidix, dha, and libmpdvdkit libraries
wight
parents:
12632
diff
changeset
|
43 uninstall: |
3c6a2b6437df
make uninstall was leaving vidix, dha, and libmpdvdkit libraries
wight
parents:
12632
diff
changeset
|
44 $(DO_MAKE) |
3c6a2b6437df
make uninstall was leaving vidix, dha, and libmpdvdkit libraries
wight
parents:
12632
diff
changeset
|
45 |
3991 | 46 # |
47 # include dependency files if they exist | |
48 # | |
49 ifneq ($(wildcard .depend),) | |
50 include .depend | |
51 endif |