home: hub: 9ficl

Download patch

ref: c07af97cf1ba21b0a71d1d708969bf861a831076
parent: 4bcb1ffc8eddcae2e20f3c14e139e1d3c78a85d6
author: asau <asau@ficl.sf.net>
date: Sun Oct 31 23:27:45 CDT 2010

Declare phony targets, introduce "test" target.

--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,14 @@
 MAJOR = 4
 MINOR = 1.0
 
+.PHONY: all test clean
+.PHONY: lib
+
+all: ficl
+
+test:
+	wd="$$(pwd)"; cd test && $${wd}/ficl ficltest.fr < /dev/null
+
 ficl: main.o $(HEADERS) libficl.a
 	$(CC) $(CFLAGS) $(LDFLAGS) main.o -o ficl -L. -lficl -lm