From f2f39decbc4876b3b10cd37dc9bbd1db51a18610 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 2 Jun 2026 22:34:13 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- 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..17e29de --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +.POSIX: + +CONFIGFILE = config.mk +include $(CONFIGFILE) + +all: binary-tree + +.c.o: + $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) + +.o: + $(CC) -o $@ $< $(LDFLAGS) + +clean: + -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.gch *.gcov *.gcno *.gcda + -rm -f -- binary-tree + +.SUFFIXES: +.SUFFIXES: .o .c + +.PHONY: all clean -- cgit v1.3.1