Skip to content

Commit 975eb84

Browse files
committed
update Makefile
1 parent fc5dc62 commit 975eb84

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
LIB_DIR = lib
22
SRC_DIR = src
3+
LIB = $(LIB_DIR)/libmod.a
34

4-
all:
5-
cd $(LIB_DIR) && make
5+
all: $(LIB)
66
cd $(SRC_DIR) && make
77

8+
$(LIB):
9+
cd $(LIB_DIR) && make
10+
811
# Docs
912
docs:
1013
doxygen Doxyfile

0 commit comments

Comments
 (0)