Index: Makefile |
diff --git a/Makefile b/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..73b14c05ba520d8009a85f1b37c3bd4226d33a33 |
--- /dev/null |
+++ b/Makefile |
@@ -0,0 +1,15 @@ |
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+CXXFLAGS += -fPIC -Wall -Werror |
+ |
+TARGETS = gpio_setup reboot_mode |
+ |
+%: %.cc |
+ $(CXX) $(CXXFLAGS) -o $@ $^ |
+ |
+all: $(TARGETS) |
+ |
+clean: |
+ @rm -f $(TARGETS) |