Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. CC=gcc
  2. CFLAGS=-Wall -pthread -g
  3.  
  4. all:
  5. make main.o input.o tokenizer.o queue.o BOS
  6.  
  7. main.o: main.c
  8. $(CC) $(CFLAGS) -c main.c
  9.  
  10. input.o: input.c
  11. $(CC) $(CFLAGS) -c input.c
  12.  
  13. tokenizer.o: tokenizer.c tokenizer.h
  14. $(CC) $(CFLAGS) -c tokenizer.c
  15.  
  16. queue.o: queue.c queue.h
  17. $(CC) $(CFlAGS) -c queue.c
  18.  
  19. BOS: main.o input.o tokenizer.o queue.o
  20. $(CC) $(CFLAGS) main.o input.o tokenizer.o queue.o -o BOS
  21.  
  22. clean:
  23. -rm -rf *.o BOS *.dSYM
  24.  
  25. rebuild:
  26. make clean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement