patch-1.3.21 linux/Rules.make
Next file: linux/arch/i386/config.in
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Aug 17 09:49:00 1995
- Orig file:
v1.3.20/linux/Rules.make
- Orig date:
Tue Aug 15 20:38:59 1995
diff -u --recursive --new-file v1.3.20/linux/Rules.make linux/Rules.make
@@ -45,7 +45,8 @@
# Rule to compile a set of .o files into one .o file
#
ifdef O_TARGET
-$(O_TARGET): $(O_OBJS)
+$(O_TARGET): $(O_OBJS) $(TOPDIR)/include/linux/config.h
+ rm -f $@
ifdef O_OBJS
$(LD) $(EXTRA_LDFLAGS) -r -o $@ $(O_OBJS)
else
@@ -57,7 +58,7 @@
# Rule to compile a set of .o files into one .a file
#
ifdef L_TARGET
-$(L_TARGET): $(L_OBJS)
+$(L_TARGET): $(L_OBJS) $(TOPDIR)/include/linux/config.h
rm -f $@
$(AR) $(EXTRA_ARFLAGS) rcs $@ $(L_OBJS)
endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this