avoid #include "../

Originally committed as revision 9403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Michael Niedermayer 2003-02-11 21:13:30 +00:00
parent 6524b641c0
commit 9858f77376
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
# .PHONY: all clean
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
$(CC) -c $(CFLAGS) -I.. -o $@ $<
all: $(SWSLIB) $(PPLIB) $(SPPLIB)
@ -45,7 +45,7 @@ cs_test: $(CS_TEST_OBJS)
ifeq ($(SHARED_PP),yes)
postprocess_pic.o: postprocess.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -o $@ $<
$(SPPLIB): $(SPPOBJS)
$(CC) -shared -Wl,-soname,$(SPPLIB).0 \

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2001-2002 Michael Niedermayer (michaelni@gmx.at)
Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -62,7 +62,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//Changelog: use the CVS log
#include "../config.h"
#include "config.h"
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
@ -80,7 +80,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#endif
#include "postprocess.h"
#include "postprocess_internal.h"
#include "../mangle.h"
#include "mangle.h"
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#define MAX(a,b) ((a) < (b) ? (b) : (a))