summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-11-18 21:39:39 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2014-11-18 22:06:25 +0100
commit8d7ea57a004908890760ffc77f2b4cc1fc6ae789 (patch)
tree189fd1ef8befde54786e240810e71e66b0a8550e /Makefile
parenta24fa3e3053eccae3981c7a1bf3995d0e67b1036 (diff)
downloadjson-rpc-shell-8d7ea57a004908890760ffc77f2b4cc1fc6ae789.tar.gz
json-rpc-shell-8d7ea57a004908890760ffc77f2b4cc1fc6ae789.tar.xz
json-rpc-shell-8d7ea57a004908890760ffc77f2b4cc1fc6ae789.zip
Convert to CMake, fix terminal resize behaviour
Fucking terminals, always broken in one way or another. For future reference, libedit acts even worse than readline.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 9374f3b..0000000
--- a/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-SHELL = /bin/sh
-CC = clang
-# -Wunused-function is pretty annoying here, as everything is static
-CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function -ggdb
-# -lpthread is only there for debugging (gdb & errno)
-LDFLAGS = `pkg-config --libs libcurl jansson` -lpthread -lreadline
-
-.PHONY: all clean
-.SUFFIXES:
-
-targets = json-rpc-shell
-
-all: $(targets)
-
-clean:
- rm -f $(targets)
-
-json-rpc-shell: json-rpc-shell.c
- $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)