diff options
author | Leah Rowe <vimuser@noreply.codeberg.org> | 2023-10-10 05:25:22 +0000 |
---|---|---|
committer | Leah Rowe <vimuser@noreply.codeberg.org> | 2023-10-10 05:25:22 +0000 |
commit | 13c58200a4a682a63806a5e6a97c555a77284ddf (patch) | |
tree | 6240c5a9b81442965d47fa9a066b606329db4370 /util/e6400-flash-unlock/Makefile | |
parent | 67ffb5134c5238295591bbc3f3260d5651a0a89a (diff) | |
parent | 724cb39f867de2e1eacc470eb348c2f7bdf82c18 (diff) |
Merge pull request 'util/e6400-flash-unlock: Update to upstream version' (#134) from nic3-14159/lbmk:e6400-flash-unlock-updates into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/134
Diffstat (limited to 'util/e6400-flash-unlock/Makefile')
-rw-r--r-- | util/e6400-flash-unlock/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/util/e6400-flash-unlock/Makefile b/util/e6400-flash-unlock/Makefile index cf8e7845..41a90482 100644 --- a/util/e6400-flash-unlock/Makefile +++ b/util/e6400-flash-unlock/Makefile @@ -3,9 +3,13 @@ CC=cc CFLAGS=-Wall -Wextra -Werror -O2 -pedantic +ifeq ($(shell uname), OpenBSD) + CFLAGS += -l$(shell uname -p) +endif +SRCS=e6400_flash_unlock.c accessors.c -all: e6400_flash_unlock.c - $(CC) $(CFLAGS) e6400_flash_unlock.c -o e6400_flash_unlock +all: $(SRCS) accessors.h + $(CC) $(CFLAGS) $(SRCS) -o e6400_flash_unlock clean: rm -f e6400_flash_unlock |