From e26279107edf7012e6b9cd558aaa09a8f0ca4764 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 23 Mar 2024 17:56:49 +0200 Subject: Initial commit --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..685f42a --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ + +stdu : stdu.o intmath.o intmath.h + cc -o stdu stdu.o intmath.o + +stdu.o : stdu.c + cc -c stdu.c + +intmath.o : intmath.c minitest.h intmath.h + cc -c intmath.c + +test : tests.c minitest.h intmath.c + cc -o test tests.c + ./test + +clean : + rm stdu stdu.o intmath.o test -- cgit v1.2.3