Mercurial > mplayer.hg
comparison loader/dshow/Makefile @ 1010:6d3a6d42c831
dependency stuff fixed
author | arpi_esp |
---|---|
date | Mon, 04 Jun 2001 19:33:28 +0000 |
parents | 162a78d3cc08 |
children | 6143de76e2e3 |
comparison
equal
deleted
inserted
replaced
1009:c51d7e4853d6 | 1010:6d3a6d42c831 |
---|---|
16 # .PHONY: all clean | 16 # .PHONY: all clean |
17 | 17 |
18 .cpp.o: | 18 .cpp.o: |
19 $(CC) -c $(CFLAGS) -o $@ $< | 19 $(CC) -c $(CFLAGS) -o $@ $< |
20 | 20 |
21 $(LIBNAME): .depend $(OBJS) | 21 $(LIBNAME): $(OBJS) |
22 $(AR) r $(LIBNAME) $(OBJS) | 22 $(AR) r $(LIBNAME) $(OBJS) |
23 | 23 |
24 test: test.c $(LIBNAME) | 24 test: test.c $(LIBNAME) |
25 $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ | 25 $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ |
26 | 26 |
31 | 31 |
32 distclean: | 32 distclean: |
33 rm -f Makefile.bak *.o *.a *~ .depend test test.raw | 33 rm -f Makefile.bak *.o *.a *~ .depend test test.raw |
34 | 34 |
35 dep: depend | 35 dep: depend |
36 depend: .depend | |
37 | 36 |
38 .depend: Makefile ../../config.mak | 37 depend: |
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | 38 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
40 | 39 |
41 # | 40 # |
42 # include dependency files if they exist | 41 # include dependency files if they exist |
43 # | 42 # |