X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=4c9335f08c1909cc640d5ab7a14c73143e3a9447;hb=8b13135e5fd175911ad9d8283b17fc97fe0c7709;hp=0256737c278bf0e8e49aea044f0b88edc47f1e3f;hpb=e1c8448f400a3f0099274c8f1ce4a0745f04d650;p=sigrok-firmware-fx2lafw.git diff --git a/Makefile b/Makefile index 0256737c..4c9335f0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ## ## This file is part of the fx2lafw project. ## -## Copyright (C) 2011-2012 Uwe Hermann +## Copyright (C) 2012 Uwe Hermann ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -18,11 +18,29 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -SOURCES = fx2lafw.c -A51_SOURCES = dscr.a51 -BASENAME = fx2lafw +all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps -FX2LIBDIR ?= fx2lib +saleae-logic: + $(MAKE) -C hw/saleae-logic -include $(FX2LIBDIR)/lib/fx2.mk +cwav-usbeeax: + $(MAKE) -C hw/cwav-usbeeax + +cwav-usbeesx: + $(MAKE) -C hw/cwav-usbeesx + +cypress-fx2: + $(MAKE) -C hw/cypress-fx2 + +braintechnology-usb-lps: + $(MAKE) -C hw/braintechnology-usb-lps + +clean: + rm -rf hw/saleae-logic/build + rm -rf hw/cwav-usbeeax/build + rm -rf hw/cwav-usbeesx/build + rm -rf hw/cypress-fx2/build + rm -rf hw/braintechnology-usb-lps/build + +.PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps