summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-11-25 21:15:35 +0100
committerPali Rohár <pali.rohar@gmail.com>2012-11-25 21:15:35 +0100
commit1edbc5e52e48c95a80469a6fb4e0907baa70cbd8 (patch)
treeab94838cb73276b052a66c470b6f121f9670fa0c /Makefile
parent0629204d397174f7abf8a508b070902b8da627bd (diff)
download0xFFFF-1edbc5e52e48c95a80469a6fb4e0907baa70cbd8.tar.bz2
Update Makefiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 2 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 97fdc3a..8c71c57 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,2 @@
-include config.mk
-PREFIX?=/usr/local
-DESTDIR?=
-
-all:
- cd src && ${MAKE} all
-
-static:
- cd src && ${MAKE} static
-
-allusb:
- cd src && ${MAKE} allusb
-
-clean:
- cd src && ${MAKE} clean
-
-install:
- mkdir -p ${DESTDIR}${PREFIX}/bin
- cp src/0xFFFF ${DESTDIR}${PREFIX}/bin
-
-deinstall:
- rm -f ${DESTDIR}${PREFIX}/bin/0xFFFF
+all clean install uninstall:
+ $(MAKE) -C src $@