From 8215e7e7a2867b5a69744599a3390a81d470c1d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matias=20Bj=C3=B8rling?= Date: Mon, 9 Feb 2015 10:31:40 +0100 Subject: [PATCH] NVMe: Pass linker flags at the end Linker flags must be passed after the object have been compiled. Else the compiler won't know they should be linked in to the nvme.o object file. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index df03c20f..b0a0c6f8 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ endif default: $(NVME) +nvme: nvme.c + $(CC) $(CFLAGS) nvme.c $(LDFLAGS) -o $(NVME) + doc: $(NVME) $(MAKE) -C Documentation -- 2.51.0