From a9ef380662da3efa382017ff8423f1a894b31bfd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 6 Feb 2024 13:22:04 +0100 Subject: dynamic linking application starts --- software/helloworld/makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 software/helloworld/makefile (limited to 'software/helloworld/makefile') diff --git a/software/helloworld/makefile b/software/helloworld/makefile new file mode 100644 index 0000000..0cd6c19 --- /dev/null +++ b/software/helloworld/makefile @@ -0,0 +1,11 @@ +CC = $(CROSS_COMPILE)gcc + +LFLAGS += -lc + +helloworld: main.c + $(CC) $^ $(CFLAGS) $(LFLAGS) -o $@ + +.PHONY: clean +clean: + $(RM) helloworld + -- cgit v1.2.3