Link random number genertor with libdriver_asyn
This commit is contained in:
parent
bc125e3e1c
commit
830b79f0d5
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue