summaryrefslogtreecommitdiff
blob: a305f59333f0739b2475421ee9362ed154e5566e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.in.orig	2005-11-08 05:58:55.000000000 +1100
+++ Makefile.in	2005-11-08 06:29:02.000000000 +1100
@@ -148,10 +148,9 @@
 
 #   be aware of libtool when building the objects
 .SUFFIXES:
-.SUFFIXES: .c .o .lo
-.c.o:
+%.o: %.c $(TARGET_PREQ)
 	$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
-.c.lo:
+%.lo: %.c $(TARGET_PREQ)
 	$(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
 
 #   the default target