daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SRC =   test_criterion.c \
  2.         new_test.c
  3.  
  4. OBJ =   $(SRC:.c=.o)
  5.  
  6. CC  =   gcc
  7.  
  8. NAME    =   units
  9.  
  10. CFLAGS  =   -I./../ -Wall -Wextra -Werror --coverage
  11.  
  12. LDFLAGS =   -lcriterion -lgcov
  13.  
  14. all:    $(NAME)
  15.  
  16. $(NAME):    $(OBJ)
  17.     $(CC) -o $(NAME) $(OBJ) $(LDFLAGS) $(CFLAGS)
  18.  
  19. clean:
  20.     rm -f $(OBJ)
  21.  
  22. fclean: clean
  23.     rm -f $(NAME)
  24.  
  25. re: fclean all
RAW Paste Data
Top