Link random number genertor with libdriver_asyn

This commit is contained in:
Philip Homburg 2008-02-25 10:25:43 +00:00
parent bc125e3e1c
commit 830b79f0d5

View 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)