home: hub: 9ficl

Download patch

ref: 10cf2349e0b78f0b4f76779b31f5367f8b8af472
parent: cd525d484b6da88d96717646b9800da935a2e234
author: asau <asau@ficl.sf.net>
date: Mon Oct 25 04:46:32 CDT 2010

Generate output file in current directory.

--- a/softcore/makefile
+++ b/softcore/makefile
@@ -1,7 +1,7 @@
 SOURCES = softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr oo.fr classes.fr string.fr ficllocal.fr fileaccess.fr
 
-../softcore.c: makesoftcore $(SOURCES)
-	makesoftcore $(SOURCES)
+softcore.c: makesoftcore $(SOURCES)
+	./makesoftcore $(SOURCES)
 
 makesoftcore: makesoftcore.c ../lzcompress.c ../bit.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o makesoftcore makesoftcore.c ../lzcompress.c ../bit.c
--- a/softcore/makesoftcore.c
+++ b/softcore/makesoftcore.c
@@ -15,7 +15,7 @@
 
 
 #ifndef SOFTCORE_OUT
-#define SOFTCORE_OUT "../softcore.c"
+#define SOFTCORE_OUT "softcore.c"
 #endif
  
 void fprintDataAsHex(FILE *f, char *data, int length)