diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-06 13:22:04 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-06 13:22:04 +0100 |
commit | a9ef380662da3efa382017ff8423f1a894b31bfd (patch) | |
tree | 26c160523c050945502408148faae6508712033b /software/helloworld/makefile | |
parent | ae327cc50fd9d3e59e9f60088243adfc69cb312e (diff) |
dynamic linking application starts
Diffstat (limited to 'software/helloworld/makefile')
-rw-r--r-- | software/helloworld/makefile | 11 |
1 files changed, 11 insertions, 0 deletions
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 + |