Mercurial > mplayer.hg
comparison mp3lib/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 |
---|---|
14 $(CC) -c $(CFLAGS) -o $@ $< | 14 $(CC) -c $(CFLAGS) -o $@ $< |
15 | 15 |
16 .s.o: | 16 .s.o: |
17 $(CC) -c $(CFLAGS) -o $@ $< | 17 $(CC) -c $(CFLAGS) -o $@ $< |
18 | 18 |
19 libMP3.a: .depend $(OBJS) | 19 libMP3.a: $(OBJS) |
20 $(AR) r libMP3.a $(OBJS) | 20 $(AR) r libMP3.a $(OBJS) |
21 | 21 |
22 test1: libMP3.a test.c | 22 test1: libMP3.a test.c |
23 $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 -lm | 23 $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 -lm |
24 | 24 |
32 | 32 |
33 distclean: | 33 distclean: |
34 rm -f *~ *.o *.a Makefile.bak .depend | 34 rm -f *~ *.o *.a Makefile.bak .depend |
35 | 35 |
36 dep: depend | 36 dep: depend |
37 depend: .depend | |
38 | 37 |
39 .depend: Makefile config.mak ../config.mak ../config.h | 38 depend: |
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | 39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
41 | 40 |
42 # | 41 # |
43 # include dependency files if they exist | 42 # include dependency files if they exist |
44 # | 43 # |