From e6a327bd19eff4244ee4a9670cbc3342ef472260 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 9 Aug 2022 15:12:30 +0200 Subject: Initial commit --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..40056c6 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +.SUFFIXES: .c .o .h .a + +.include "config.mk" + +$(PROG): ${OBJ} + $(LINKER) ${OBJ} -o $@ $(LFLAGS) + +.c.o: + @echo $< + $(CC) $(CFLAGS) -c $< + +clean: + rm -f *.o + rm -f $(PROG) + -- cgit v1.2.3