Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include ../Makefile.include
- SOURCES := xbmcVideoLibraryScan.cpp
- LFLAGS += -lxbmc -lstdc++ -L..
- #INCLUDES += -I.
- # Objs are all the sources, with .cpp replaced by .o
- OBJS := $(SOURCES:.cpp=.o)
- all: xbmcVideoLibraryScan
- xbmcVideoLibraryScan: $(OBJS)
- $(CC) $(CFLAGS) -o xbmcVideoLibraryScan $(OBJS) $(LFLAGS) $(LIBS)
- # Get a .o from a .cpp by calling compiler with cflags and includes (if defined)
- .cpp.o:
- $(CC) $(CFLAGS) $(INCLUDES) -c $<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement