[Mplayer-cvslog] CVS: main/linux Makefile,NONE,1.1
Nick Kurshev
nick at mplayer.dev.hu
Wed Oct 24 09:34:43 CEST 2001
Update of /cvsroot/mplayer/main/linux
In directory mplayer:/var/tmp.root/cvs-serv12257/main/linux
Added Files:
Makefile
Log Message:
Independed compilation of SUBDIRS
--- NEW FILE ---
include ../config.mak
LIBNAME = libosdep.a
SRCS=getch2.c timer-lx.c shmem.c
OBJS=$(SRCS:.c=.o)
ifeq ($(TARGET_ARCH_X86),yes)
ifeq ($(TARGET_OS),Linux)
SRCS += lrmi.c vbelib.c
endif
endif
CFLAGS = $(OPTFLAGS) -I. -I.. -Wall
# -I/usr/X11R6/include/
.SUFFIXES: .c .o
# .PHONY: all clean
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
$(LIBNAME): $(OBJS)
$(AR) r $(LIBNAME) $(OBJS)
all: $(LIBNAME)
clean:
rm -f *.o *.a *~
distclean:
rm -f Makefile.bak *.o *.a *~ .depend
dep: depend
depend:
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif
More information about the MPlayer-cvslog
mailing list