aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plumb
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plumb')
-rw-r--r--src/cmd/plumb/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cmd/plumb/Makefile b/src/cmd/plumb/Makefile
new file mode 100644
index 00000000..df3c8bed
--- /dev/null
+++ b/src/cmd/plumb/Makefile
@@ -0,0 +1,16 @@
+
+CFLAGS=-I../../../include
+LDLIBS=-L../../../lib -lplumb -lbio -lregexp9 -lfmt -l9 -lutf
+all: plumb plumber
+
+plumb: plumb.o
+ cc -o $@ plumb.o $(LDLIBS)
+
+plumber: match.o rules.o plumber.o
+ cc -o $@ match.o rules.o plumber.o $(LDLIBS)
+
+clean:
+ rm -f *.o
+
+install: plumb plumber
+ cp plumb plumber ../../../bin