home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / xmovie / Makefile < prev    next >
Makefile  |  2000-11-29  |  672b  |  52 lines

  1. include ../global_config    
  2. export CFLAGS
  3.  
  4. #OBJECTS USED BY XMOVIE
  5.  
  6. OBJS = \
  7.     arender.o \
  8.     asset.o \
  9.     audiodevice.o \
  10.     file.o \
  11.     filebase.o \
  12.     filemov.o \
  13.     filempeg.o \
  14.     load.o \
  15.     mainmenu.o \
  16.     mainwindow.o \
  17.     mwindowgui.o \
  18.     playbackengine.o \
  19.     playlist.o \
  20.     theme.o \
  21.     settings.o \
  22.     vrender.o \
  23.     xmovie.o
  24.  
  25. OUTPUT = xmovie
  26.  
  27. $(OUTPUT): $(OBJS)
  28.     $(CC) -o $(OUTPUT) $(OBJS) $(LFLAGS) $(LIBS)
  29.     strip $(OUTPUT)
  30.  
  31.  
  32. test: test.o
  33.     $(CC) -o test test.o $(LFLAGS) $(LIBS)
  34.  
  35. .C.o:
  36.     $(CC) -c `./c_flags` $*.C
  37.  
  38. clean:
  39.     rm -f core
  40.     rm -f *.o *.a
  41.     rm -f $(OUTPUT)
  42.  
  43. wc:
  44.     cat *.C *.h | wc
  45.  
  46. install:
  47.     cp $(OUTPUT) $(PREFIX)/bin
  48.  
  49. dist:
  50.     strip $(OUTPUT) && \
  51.     tar zcf $(OUTPUT).tar.gz $(OUTPUT)
  52.