From 1e73bdc8b81a37a8b674f4d1596e29d0b0a50902 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 13 Jan 2022 02:54:34 +0000 Subject: fix irc handling code and also add makefile --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..df7073c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +.POSIX: +.SUFFIXES: + +CFLAGS=-Wall +CC=cc +debug=-g -DDEBUG -DLOCAL +fs=thing.c + +all: thing + +thing: $(fs) + $(CC) $(CFLAGS) -o thing $(fs) + +debug: + $(CC) $(CFLAGS) $(debug) -o thing $(fs) + +run: all + ./thing + +dr: debug + ./thing -- cgit v1.2.3