Mercurial > mplayer.hg
comparison postproc/Makefile @ 9402:1e8f3293a822
avoid #include "../
author | michael |
---|---|
date | Tue, 11 Feb 2003 21:13:30 +0000 |
parents | dff74a42db56 |
children | c9dcb67e9638 |
comparison
equal
deleted
inserted
replaced
9401:f7be067d683e | 9402:1e8f3293a822 |
---|---|
20 .SUFFIXES: .c .o | 20 .SUFFIXES: .c .o |
21 | 21 |
22 # .PHONY: all clean | 22 # .PHONY: all clean |
23 | 23 |
24 .c.o: | 24 .c.o: |
25 $(CC) -c $(CFLAGS) -o $@ $< | 25 $(CC) -c $(CFLAGS) -I.. -o $@ $< |
26 | 26 |
27 all: $(SWSLIB) $(PPLIB) $(SPPLIB) | 27 all: $(SWSLIB) $(PPLIB) $(SPPLIB) |
28 | 28 |
29 $(SWSLIB): $(SWSOBJS) | 29 $(SWSLIB): $(SWSOBJS) |
30 $(AR) r $(SWSLIB) $(SWSOBJS) | 30 $(AR) r $(SWSLIB) $(SWSOBJS) |
43 cs_test: $(CS_TEST_OBJS) | 43 cs_test: $(CS_TEST_OBJS) |
44 $(CC) $(CS_TEST_OBJS) -o cs_test | 44 $(CC) $(CS_TEST_OBJS) -o cs_test |
45 | 45 |
46 ifeq ($(SHARED_PP),yes) | 46 ifeq ($(SHARED_PP),yes) |
47 postprocess_pic.o: postprocess.c | 47 postprocess_pic.o: postprocess.c |
48 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< | 48 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -o $@ $< |
49 | 49 |
50 $(SPPLIB): $(SPPOBJS) | 50 $(SPPLIB): $(SPPOBJS) |
51 $(CC) -shared -Wl,-soname,$(SPPLIB).0 \ | 51 $(CC) -shared -Wl,-soname,$(SPPLIB).0 \ |
52 -o $(SPPLIB) $(SPPOBJS) | 52 -o $(SPPLIB) $(SPPOBJS) |
53 endif | 53 endif |