Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 14th, 2010  |  syntax: None  |  size: 0.72 KB  |  views: 113  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #             __________               __   ___.
  2. #   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
  3. #   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
  4. #   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
  5. #   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
  6. #                     \/            \/     \/    \/            \/
  7. # $Id$
  8. #
  9.  
  10. SRC = skin_parser.c skin_debug.c skin_scan.c tag_table.c
  11. OBJ = $(BUILDDIR)/$(SRC:.c=.o)
  12. OUT = $(BUILDDIR)/libskin_parser.a
  13. CC = gcc
  14. AR = ar
  15. INCLUDES = -I.
  16.  
  17. default: $(OUT)
  18.  
  19. %.c: %.o
  20.         $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $(BUILDDIR)/$@
  21.  
  22. $(OUT): $(OBJ)
  23.         $(AR) rcs $(BUILDDIR)/$(OUT) $(BUILDDIR)/$(OBJ)
  24.  
  25. clean:
  26.         rm -f $(OBJ) $(OUT)