summary refs log tree commit diff
path: root/bin/edi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/edi/Makefile')
-rw-r--r--bin/edi/Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/bin/edi/Makefile b/bin/edi/Makefile
deleted file mode 100644
index e7f16b39..00000000
--- a/bin/edi/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-CFLAGS += -Wall -Wextra -Wpedantic
-LDLIBS = -lcursesw
-
-OBJS += buffer.o
-OBJS += edi.o
-OBJS += file.o
-OBJS += iter.o
-OBJS += log.o
-OBJS += store.o
-OBJS += table.o
-
-TESTS += buffer.t
-TESTS += iter.t
-TESTS += table.t
-
-all: tags edi test
-
-tags: *.h *.c
-	ctags -w *.h *.c
-
-edi: $(OBJS)
-	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
-
-$(OBJS): edi.h
-
-test: $(TESTS)
-	set -e; $(TESTS:%=./%;)
-
-.SUFFIXES: .t
-
-.c.t:
-	$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@
-
-clean:
-	rm -f tags edi $(OBJS) $(TESTS)