Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #########################
  2. #
  3. CFILES := main.c
  4. PROG := str2csv
  5. CFLAGS := -Wall -pedantic
  6. LDFLAGS :=
  7. ########################
  8.  
  9. CC := cc
  10.  
  11. OBJFILES := $(CFILES:.c=.o)
  12.  
  13. $(PROG) : $(OBJFILES)
  14. $(CC) $(CFLAGS) $(CFILES) -o $@ $^
  15.  
  16. clean :
  17. rm -f $(PROG) $(OBJFILES)
  18.  
  19. -include $(DEPFILES)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement