moved mifare-read to seperate directory
[svn42.git] / mifare-read / Makefile
diff --git a/mifare-read/Makefile b/mifare-read/Makefile
new file mode 100755 (executable)
index 0000000..a48ba7a
--- /dev/null
@@ -0,0 +1,30 @@
+##
+##  mifare-read
+##
+##  Copyright (C) 2009 Christian Pointner <equinox@spreadspace.org>
+##
+##  This file is part of mifare-read.
+##
+##  mifare-read is free software: you can redistribute it and/or modify
+##  it under the terms of the GNU General Public License version 3 as
+##  published by the Free Software Foundation.
+##
+##  mifare-read is distributed in the hope that it will be useful,
+##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+##  GNU General Public License for more details.
+##
+##  You should have received a copy of the GNU General Public License
+##  along with mifare-read. If not, see <http://www.gnu.org/licenses/>.
+##
+
+EXECUTABLE := mifare-read
+
+all: $(EXECUTABLE)
+
+mifare-read: mifare-read.c
+       $(CC) $(CFLAGS) -lrfid -o $@ $<
+
+clean:
+       rm -f $(EXECUTABLE)
+