comparison Makefile @ 572:5a06c3552026 libavcodec

BeOS patches by "shatty" <shatty at myrealbox.com> 1. errno's are negative on beos, so negating them gives positive values. 2. the -shared flag is -nostart on beos. 3. building the shared lib on beos requires -fomit-frame-pointer 4. beos doesn't have oss support
author michaelni
date Fri, 19 Jul 2002 22:23:40 +0000
parents 0a9259126188
children b0f52172f4c5
comparison
equal deleted inserted replaced
571:0a9259126188 572:5a06c3552026
83 $(LIB): $(OBJS) 83 $(LIB): $(OBJS)
84 rm -f $@ 84 rm -f $@
85 $(AR) rc $@ $(OBJS) 85 $(AR) rc $@ $(OBJS)
86 86
87 $(SLIB): $(OBJS) 87 $(SLIB): $(OBJS)
88 $(CC) -shared -o $@ $(OBJS) $(EXTRALIBS) 88 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
89 89
90 dsputil.o: dsputil.c dsputil.h 90 dsputil.o: dsputil.c dsputil.h
91 91
92 %.o: %.c 92 %.o: %.c
93 $(CC) $(CFLAGS) -c -o $@ $< 93 $(CC) $(CFLAGS) -c -o $@ $<