From bdb63dc3217b00fd29d8c58079b34c1e6a238776 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 23 Jun 2009 11:48:37 +0000 Subject: The makefile rules for %.o and flashrom.o are identical Let %.o handle flashrom.o as well. Corresponding to flashrom svn r626. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Luc Verhaegen --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2a54c737..77193350 100644 --- a/Makefile +++ b/Makefile @@ -71,11 +71,8 @@ FEATURE_CFLAGS = $(shell LANG=C grep -q "FTDISUPPORT := yes" .features && printf FEATURE_LIBS = $(shell LANG=C grep -q "FTDISUPPORT := yes" .features && printf "%s" "-lftdi") -flashrom.o: flashrom.c .features - $(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) -c -o $@ $< $(SVNDEF) - %.o: %.c .features - $(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) -c $< -o $@ $(SVNDEF) + $(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) $(SVNDEF) -o $@ -c $< clean: rm -f $(PROGRAM) *.o -- cgit v1.2.3