changeset 21181:d2a3e5845d17

Handle stubs.s like all other source files.
author diego
date Fri, 24 Nov 2006 23:49:30 +0000
parents 2f1d3f01a244
children b5e20880785f
files loader/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Fri Nov 24 23:32:39 2006 +0000
+++ b/loader/Makefile	Fri Nov 24 23:49:30 2006 +0000
@@ -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: