]> Zhao Yanbai Git Server - minix.git/commitdiff
Link random number genertor with libdriver_asyn
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 25 Feb 2008 10:25:43 +0000 (10:25 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 25 Feb 2008 10:25:43 +0000 (10:25 +0000)
drivers/random/Makefile

index 0af80f4607180a2afbdb6bcf17d167bd54d3dc37..ec447e5f9c9c981cf2a1479a410f689b6bb4d5e2 100644 (file)
@@ -13,14 +13,15 @@ d = ..
 MAKE = exec make
 CC =   exec cc
 CFLAGS = -I$i $(CPROFILE)
-LDFLAGS = -i -L../libdriver
+LDFLAGS = -i -L../libdriver_asyn
 LIBS = -lsysutil -ldriver -lsys 
+LIB_DEPS=../libdriver_asyn/libdriver.a
 
 OBJ = main.o random.o sha2.o aes/rijndael_api.o aes/rijndael_alg.o
 
 # build local binary
 all build:     $(DRIVER)
-$(DRIVER):     $(OBJ)
+$(DRIVER):     $(OBJ) $(LIB_DEPS)
        $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
        install -S 8k $(DRIVER)