aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f07d055..bb08f4c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+CC=gcc
CFLAGS ?= -Wall -g -I./include
mcping: mcping.c mctypes.o mcnetwork.o
@@ -7,8 +8,7 @@ mcping: mcping.c mctypes.o mcnetwork.o
$(CC) $(CFLAGS) -c $<
check: mcping
- ./mcping 137.74.234.16:2001 | jq '.players'
- ./mcping mc.seisan.fr | jq '.players'
+ ./mcping mc.hypixel.net | grep -q '^{"version":'
lint:
indent -kr -ts4 *.c