From 4444a375ac7f24ada2932291661d9102791604d9 Mon Sep 17 00:00:00 2001 From: akiyamn Date: Thu, 3 Sep 2020 21:34:40 +1000 Subject: Makefile and basic mechanisms added --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4ebec02 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +OBJS = fileutil.o +CC = gcc +CFLAGS = -Wall -c + +all: $(OBJS) + $(CC) $(OBJS) -o fileutil + +fileutil.o: fileutil.c fileutil.h + $(CC) $(CFLAGS) fileutil.c -- cgit v1.2.3