ref: 9764ad3a5a9110ed9ac6209e9ab25ebb9807b7c3
parent: ff6fc29a92d26db81180689ea85f9b5bde2a89a0
author: asau <asau@ficl.sf.net>
date: Fri Sep 10 03:33:06 CDT 2010
Remove relative paths from "#include" directives.
--- a/Makefile.ansi
+++ b/Makefile.ansi
@@ -4,7 +4,7 @@
# Flags for shared library
TARGET= -ansi -DFICL_ANSI # riscos MOTO_CPU32
SHFLAGS = -fPIC
-CFLAGS= -O $(SHFLAGS) $(TARGET)
+CFLAGS= -O $(SHFLAGS) $(TARGET) -I.
CC=gcc
LIB = ar cr
RANLIB = ranlib
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -4,7 +4,7 @@
# Flags for shared library
TARGET= -Dlinux # riscos MOTO_CPU32
SHFLAGS = -fPIC
-CFLAGS= -O -c $(SHFLAGS) $(TARGET)
+CFLAGS= -O -c $(SHFLAGS) $(TARGET) -I.
CC=gcc
LIB = ar cr
RANLIB = ranlib
--- a/ficlplatform/ansi.c
+++ b/ficlplatform/ansi.c
@@ -1,4 +1,4 @@
-#include "../ficl.h"
+#include "ficl.h"
--- a/ficlplatform/unix.c
+++ b/ficlplatform/unix.c
@@ -2,7 +2,7 @@
#include <sys/stat.h>
#include <sys/types.h>
-#include "../ficl.h"
+#include "ficl.h"
--- a/ficlplatform/win32.c
+++ b/ficlplatform/win32.c
@@ -4,7 +4,7 @@
**/
#include <sys/stat.h>
-#include "../ficl.h"
+#include "ficl.h"
/*
--- a/softcore/makefile
+++ b/softcore/makefile
@@ -4,7 +4,7 @@
makesoftcore $(SOURCES)
makesoftcore: makesoftcore.c ../lzcompress.c ../bit.c
- cc -o makesoftcore makesoftcore.c ../lzcompress.c ../bit.c
+ cc -I.. -o makesoftcore makesoftcore.c ../lzcompress.c ../bit.c
clean:
- rm ../softcore.c *.o makesoftcore
--- a/softcore/makesoftcore.c
+++ b/softcore/makesoftcore.c
@@ -10,7 +10,7 @@
#include <stdlib.h>
#include <time.h>
-#include "../ficl.h"
+#include "ficl.h"
void fprintDataAsHex(FILE *f, char *data, int length)