SRC= main.c OBJ= $(SRC:.c=.o) NAME= pve-hubhotplug $(NAME): all all: $(OBJ) $(CC) $(OBJ) -o $(NAME) $(LDFLAGS) clean: $(RM) $(OBJ) fclean: clean $(RM) $(NAME) re: fclean all .PHONY: all clean fclean re