small makefile fix

This commit is contained in:
jacekpoz 2024-02-11 21:59:58 +01:00
parent 7d62a8acc4
commit d6961a75f3
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

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