Advertisement
Guest User

Makefile

a guest
Oct 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. # Makefile
  2.  
  3. CC=gcc -fsanitize=address
  4. CPPFLAGS= -MMD -D_XOPEN_SOURCE=500
  5. CFLAGS= -Wall -Wextra -std=c99 -O2
  6. LDFLAGS=
  7. LDLIBS=
  8.  
  9. SRC= hill/hill.c rotate/level1.c rotate/level2.c
  10. OBJ= ${SRC:.c=.o}
  11. DEP= ${SRC:.c=.d}
  12.  
  13. all: hill/hill rotate/level1 rotate/level2
  14.  
  15. -include ${DEP}
  16.  
  17. clean:
  18.     rm -f ${OBJ} ${DEP} hill/hill rotate/level1 rotate/level2
  19.  
  20. # END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement