]> Sergey Matveev's repositories - dht-bootstrap.git/commitdiff
Makefile -> redo
authorSergey Matveev <stargrave@stargrave.org>
Wed, 9 Nov 2022 08:50:51 +0000 (11:50 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 9 Nov 2022 10:10:13 +0000 (13:10 +0300)
Makefile [deleted file]
all.do [new file with mode: 0644]
clean.do [new file with mode: 0644]
dht-bootstrap.do [new file with mode: 0644]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 653e0ac..0000000
--- a/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-CFLAGS = -g -Wall
-LDLIBS =
-
-dht-bootstrap: dht-bootstrap.o
-
-all: dht-bootstrap
-
-clean:
-       -rm -f dht-bootstrap dht-bootstrap.o dht.o *~ core
diff --git a/all.do b/all.do
new file mode 100644 (file)
index 0000000..3b5334c
--- /dev/null
+++ b/all.do
@@ -0,0 +1 @@
+redo-ifchange dht-bootstrap
diff --git a/clean.do b/clean.do
new file mode 100644 (file)
index 0000000..42907ca
--- /dev/null
+++ b/clean.do
@@ -0,0 +1 @@
+rm -f dht-bootstrap
diff --git a/dht-bootstrap.do b/dht-bootstrap.do
new file mode 100644 (file)
index 0000000..4a3dee7
--- /dev/null
@@ -0,0 +1,2 @@
+redo-ifchange dht-bootstrap.c
+${CC:-cc} -std=c99 $CFLAGS -o $3 dht-bootstrap.c