Advertisement
Guest User

make_xbmcVideoLibraryScan

a guest
Sep 3rd, 2012
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.45 KB | None | 0 0
  1. include ../Makefile.include
  2.  
  3. SOURCES := xbmcVideoLibraryScan.cpp
  4.  
  5. LFLAGS += -lxbmc -lstdc++ -L..
  6.  
  7. #INCLUDES += -I.
  8.  
  9. # Objs are all the sources, with .cpp replaced by .o
  10. OBJS := $(SOURCES:.cpp=.o)
  11.  
  12. all: xbmcVideoLibraryScan
  13.  
  14. xbmcVideoLibraryScan: $(OBJS)
  15.     $(CC) $(CFLAGS) -o xbmcVideoLibraryScan $(OBJS) $(LFLAGS) $(LIBS)
  16.  
  17. # Get a .o from a .cpp by calling compiler with cflags and includes (if defined)
  18. .cpp.o:
  19.     $(CC) $(CFLAGS) $(INCLUDES) -c $<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement