Herowaree

makefile

Apr 8th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. CC = gcc
  2. CFLAGS = -Wall -Werror
  3.  
  4. all: selection quicksort mergesort insertion heapsort
  5.  
  6. selection: selection.c
  7. $(CC) $(CFLAGS) selection.c -o selection
  8.  
  9. quicksort: quicksort.c
  10. $(CC) $(CFLAGS) quicksort.c -o quicksort
  11.  
  12. mergesort: mergesort.c
  13. $(CC) $(CFLAGS) mergesort.c -o mergesort
  14.  
  15. insertion: insertion.c
  16. $(CC) $(CFLAGS) insertion.c -o insertion
  17.  
  18. heapsort: heapsort.c
  19. $(CC) $(CFLAGS) heapsort.c -o heapsort
Advertisement
Add Comment
Please, Sign In to add comment