summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 169ec2f..5cf432c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,12 @@ LDFLAGS = `pkg-config fuse --libs` -lpq
clean:
rm -f pgfuse pgfuse.o
+test: pgfuse
+ -./pgfuse "" mnt
+ mount | grep pgfuse
+ -ls mnt
+ fusermount -u mnt
+
pgfuse: pgfuse.o
gcc -o pgfuse $(LDFLAGS) pgfuse.o