summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-06-23 11:48:37 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-06-23 11:48:37 +0000
commitbdb63dc3217b00fd29d8c58079b34c1e6a238776 (patch)
tree42a468537e08eb74630a9a0ef7345f0a56bc17f1
parent2291535b7ba4c4697df465d49ee3aa7f5f33253a (diff)
downloadast2050-flashrom-bdb63dc3217b00fd29d8c58079b34c1e6a238776.zip
ast2050-flashrom-bdb63dc3217b00fd29d8c58079b34c1e6a238776.tar.gz
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be>
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2a54c73..7719335 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
OpenPOWER on IntegriCloud