From 0157900ccb8d03bf8532d7e9c04b926f7ea63853 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 12 May 2023 15:37:26 +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..de52ef1 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# See LICENSE file for copyright and license details. + +include config.mk + +${APPNAME}: ${OBJ} + ${CC} ${LFLAGS} ${OBJ} -o $@ + +debug: + @make CFLAGS_OPTS=-g ${APPNAME} + +.c.o: + ${CC} ${CFLAGS} -c $< -o $@ + +clean: + rm -rf ${OBJ} + rm -rf ${APPNAME} -- cgit v1.2.3