small makefile fix
This commit is contained in:
parent
7d62a8acc4
commit
d6961a75f3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ dirs:
|
||||||
mkdir -p $(BIN)
|
mkdir -p $(BIN)
|
||||||
|
|
||||||
$(NAME): $(OBJ)
|
$(NAME): $(OBJ)
|
||||||
$(CC) -o $(BIN)/$(NAME) $(addprefix $(BIN)/, $^) $(LDFLAGS)
|
$(CC) -o $(BIN)/$@ $(addprefix $(BIN)/, $^) $(LDFLAGS)
|
||||||
|
|
||||||
%.so: modules/%.c $(LIB)
|
%.so: modules/%.c $(LIB)
|
||||||
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS) $(LDFLAGS)
|
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS) $(LDFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue