1# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5TMPDIR = `mktemp -d`
6BINS = rowhammer_test
7SRC = rowhammer_test.cc
8OBJS = rowhammer_test.o
9
10all: $(BINS)
11
12rowhammer_test: $(OBJS)
13	$(CXX) -static $(CXXFLAGS) -o $@ $^
14
15.cc.o:
16	$(CXX) $(CXXFLAGS) -c $< -o $@
17
18clean:
19	@rm $(BINS) $(OBJS) || true
20