makefile update

This commit is contained in:
Tristan Krause 2019-05-15 13:36:40 +02:00
parent 5e9ec0f856
commit 6c7ed17b96

View file

@ -20,10 +20,8 @@ COMPILE = $(COMPILER_PATH) $(CFLAGS)
all: drv cli
drv: $(OBJECTS_DRV)
@echo "Linking driver library..."
mkdir -p ../lib
$(COMPILE) $(OBJECTS_DRV) -shared -o $(LIB_DRV) $(LDFLAGS)
drv: $(OBJECTS_DRV) $(LIB_DRV)
cli: drv $(OBJECTS_UI) $(OBJ_CLI)
@echo "Linking cli..."
@ -43,3 +41,8 @@ clean:
.cpp.o:
$(COMPILE) -c $< -o $@
$(LIB_DRV):
@echo "Linking driver library..."
mkdir -p ../lib
$(COMPILE) $(OBJECTS_DRV) -shared -o $(LIB_DRV) $(LDFLAGS)