--- /dev/null
+##
+## 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)
+