aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-31 19:32:18 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-03-31 19:32:18 +0100
commit61d0fe74c6d60cd184afdf4f4566f421c90816ce (patch)
tree3ae90a25680d4a4e591dd3448abc69419ccb3e05 /tools/tests
parent75c300588b4bc675d9fb2f64e9ec956d808e4992 (diff)
downloadxen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.tar.gz
xen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.tar.bz2
xen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.zip
tools: Remove $(CFLAGS) from links lines.
The relevant variable in these circumstances is called $(LDFLAGS). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/mce-test/tools/Makefile5
-rw-r--r--tools/tests/xen-access/Makefile7
2 files changed, 3 insertions, 9 deletions
diff --git a/tools/tests/mce-test/tools/Makefile b/tools/tests/mce-test/tools/Makefile
index e8a98e0cd2..6df8385dc4 100644
--- a/tools/tests/mce-test/tools/Makefile
+++ b/tools/tests/mce-test/tools/Makefile
@@ -18,8 +18,5 @@ install:
clean:
$(RM) *.o xen-mceinj
-%.o: %.c $(HDRS) Makefile
- $(CC) -c $(CFLAGS) -o $@ $<
-
xen-mceinj: %: %.o Makefile
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
+ $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
diff --git a/tools/tests/xen-access/Makefile b/tools/tests/xen-access/Makefile
index 63548ccb6a..b3555aba70 100644
--- a/tools/tests/xen-access/Makefile
+++ b/tools/tests/xen-access/Makefile
@@ -25,10 +25,7 @@ clean:
$(RM) *.o $(TARGETS) *~ $(DEPS)
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
-%.o: %.c Makefile
- $(CC) -c $(CFLAGS) -o $@ $<
-
xen-access: %: %.o Makefile
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
-# $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
+ $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
+
-include $(DEPS)