changeset 1067:54aa0bb40e97 libavcodec

avoid #include "../
author michael
date Tue, 11 Feb 2003 21:13:30 +0000
parents 6ce55cd04783
children a5be963709d1
files libpostproc/Makefile libpostproc/postprocess.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/Makefile	Tue Feb 11 21:12:16 2003 +0000
+++ b/libpostproc/Makefile	Tue Feb 11 21:13:30 2003 +0000
@@ -22,7 +22,7 @@
 # .PHONY: all clean
 
 .c.o:
-	$(CC) -c $(CFLAGS) -o $@ $<
+	$(CC) -c $(CFLAGS) -I.. -o $@ $<
 
 all:    $(SWSLIB) $(PPLIB) $(SPPLIB)
 
@@ -45,7 +45,7 @@
 
 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 \
--- a/libpostproc/postprocess.c	Tue Feb 11 21:12:16 2003 +0000
+++ b/libpostproc/postprocess.c	Tue Feb 11 21:13:30 2003 +0000
@@ -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 @@
 
 //Changelog: use the CVS log
 
-#include "../config.h"
+#include "config.h"
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -80,7 +80,7 @@
 #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))