Mercurial > mplayer.hg
comparison libmpeg2/Makefile @ 1010:6d3a6d42c831
dependency stuff fixed
author | arpi_esp |
---|---|
date | Mon, 04 Jun 2001 19:33:28 +0000 |
parents | 91087aaea5c7 |
children | dfccdda074e5 |
comparison
equal
deleted
inserted
replaced
1009:c51d7e4853d6 | 1010:6d3a6d42c831 |
---|---|
13 # .PHONY: all clean | 13 # .PHONY: all clean |
14 | 14 |
15 .c.o: | 15 .c.o: |
16 $(CC) -c $(CFLAGS) -o $@ $< | 16 $(CC) -c $(CFLAGS) -o $@ $< |
17 | 17 |
18 $(LIBNAME): .depend $(OBJS) | 18 $(LIBNAME): $(OBJS) |
19 $(AR) r $(LIBNAME) $(OBJS) | 19 $(AR) r $(LIBNAME) $(OBJS) |
20 | 20 |
21 all: $(LIBNAME) | 21 all: $(LIBNAME) |
22 | 22 |
23 clean: | 23 clean: |
25 | 25 |
26 distclean: | 26 distclean: |
27 rm -f Makefile.bak *.o *.a *~ .depend | 27 rm -f Makefile.bak *.o *.a *~ .depend |
28 | 28 |
29 dep: depend | 29 dep: depend |
30 depend: .depend | |
31 | 30 |
32 .depend: Makefile ../config.mak ../config.h | 31 depend: |
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | 32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
34 | 33 |
35 # | 34 # |
36 # include dependency files if they exist | 35 # include dependency files if they exist |
37 # | 36 # |