Mercurial > mplayer.hg
comparison mp3lib/Makefile @ 826:93304e7353c8
Added missing mathlib for linking.
author | atmosfear |
---|---|
date | Thu, 17 May 2001 18:20:14 +0000 |
parents | 989b921361d0 |
children | 91087aaea5c7 |
comparison
equal
deleted
inserted
replaced
825:67fe2eebe542 | 826:93304e7353c8 |
---|---|
17 | 17 |
18 libMP3.a: .depend $(OBJS) | 18 libMP3.a: .depend $(OBJS) |
19 $(AR) r libMP3.a $(OBJS) | 19 $(AR) r libMP3.a $(OBJS) |
20 | 20 |
21 test1: libMP3.a test.c | 21 test1: libMP3.a test.c |
22 $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 | 22 $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 -lm |
23 | 23 |
24 test2: libMP3.a test2.c | 24 test2: libMP3.a test2.c |
25 $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3 | 25 $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3 -lm |
26 | 26 |
27 all: libMP3.a | 27 all: libMP3.a |
28 | 28 |
29 clean: | 29 clean: |
30 rm -f *~ *.o *.a | 30 rm -f *~ *.o *.a |