]> gitweb @ CieloNegro.org - blackboard-dns.git/blobdiff - data/GNUmakefile
DB thingy
[blackboard-dns.git] / data / GNUmakefile
diff --git a/data/GNUmakefile b/data/GNUmakefile
new file mode 100644 (file)
index 0000000..519c56f
--- /dev/null
@@ -0,0 +1,17 @@
+GHC ?= ghc
+
+all: db-modules
+
+db-modules: GenDBModules
+       ./GenDBModules
+
+GenDBModules: GenDBModules.hs ../DDNS/DBInfo.hs
+       $(GHC) --make GenDBModules -i..
+
+clean:
+       rm -f GenDBModules *.hi *.o
+       rm -f ../DDNS/DB.hs
+       rm -rf ../DDNS/DB
+       rm -f ../DDNS/*.hi ../DDNS/*.o
+
+.PHONY: all db-modules clean
\ No newline at end of file