summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/libreboot-utils/Makefile')
-rw-r--r--util/libreboot-utils/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/util/libreboot-utils/Makefile b/util/libreboot-utils/Makefile
index f741d3f5..692ebf0f 100644
--- a/util/libreboot-utils/Makefile
+++ b/util/libreboot-utils/Makefile
@@ -37,14 +37,16 @@ OBJS_NVMUTIL = \
obj/lib/io.o \
obj/lib/checksum.o \
obj/lib/word.o \
- obj/lib/mkhtemp.o
+ obj/lib/mkhtemp.o \
+ obj/lib/rand.o
OBJS_MKHTEMP = \
obj/mkhtemp.o \
obj/lib/file.o \
obj/lib/string.o \
obj/lib/num.o \
- obj/lib/mkhtemp.o
+ obj/lib/mkhtemp.o \
+ obj/lib/rand.o
# default mode
CFLAGS_MODE = $(PORTABLE)
@@ -106,6 +108,9 @@ obj/lib/word.o: lib/word.c
obj/lib/mkhtemp.o: lib/mkhtemp.c
$(CC_MODE) $(CFLAGS_MODE) -c lib/mkhtemp.c -o obj/lib/mkhtemp.o
+obj/lib/rand.o: lib/rand.c
+ $(CC_MODE) $(CFLAGS_MODE) -c lib/rand.c -o obj/lib/rand.o
+
# install
install: $(PROG) $(PROGMKH)