Advertisement
Guest User

Untitled

a guest
Aug 5th, 2020
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. mcp@mcp:~/Lab$ cat Makefile
  2. CC=gcc-10
  3. all: t1 t2 t3
  4.  
  5. t1: test.c
  6. ${CC} -isystem /usr/include/arm-linux-gnueabihf/sys test.c -o t1
  7.  
  8. t2: test.c
  9. ${CC} -I/usr/include/arm-linux-gnueabihf/sys/ test.c -o t2
  10.  
  11. t3: test.c
  12. ${CC} test.c -o t3
  13.  
  14. clean:
  15. rm -rf t1 t2 t3 *.o
  16. mcp@mcp:~/Lab$ cat test.c
  17. #include <stdio.h>
  18.  
  19. #include <time.h>
  20.  
  21. struct timeval t1;
  22.  
  23.  
  24. int main(int argc, char argv[])
  25. {
  26. printf("yo.\n");
  27. }
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement