[MPlayer-cvslog] r21197 - trunk/loader/Makefile

diego subversion at mplayerhq.hu
Sat Nov 25 00:49:31 CET 2006


Author: diego
Date: Sat Nov 25 00:49:30 2006
New Revision: 21197

Modified:
   trunk/loader/Makefile

Log:
Handle stubs.s like all other source files.


Modified: trunk/loader/Makefile
==============================================================================
--- trunk/loader/Makefile	(original)
+++ trunk/loader/Makefile	Sat Nov 25 00:49:30 2006
@@ -6,11 +6,12 @@
 SRCS= driver.c afl.c vfl.c
 ifneq ($(TARGET_WIN32),yes)
 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
-       pe_resource.c resource.c registry.c elfdll.c wrapper.S
+       pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s
 endif
 
 OBJS = $(SRCS:.c=.o)
 OBJS := $(OBJS:.S=.o)
+OBJS := $(OBJS:.s=.o)
 
 all: libloader.a
 
@@ -23,9 +24,8 @@
 .c.o:
 	$(CC) $(CFLAGS) -c $<
 
-libloader.a:  $(OBJS) stubs.s
-	$(CC) -c ./stubs.s -o stubs.o
-	$(AR) -r libloader.a $(OBJS) stubs.o
+libloader.a:  $(OBJS)
+	$(AR) -r libloader.a $(OBJS)
 	$(RANLIB) libloader.a
 
 dep depend:



More information about the MPlayer-cvslog mailing list