]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - Makefile
Implemented sample rate control
[sigrok-firmware-fx2lafw.git] / Makefile
index dee427041a8fc2a73c66b9c74f1063f3a4e673df..4c1ded6cbab3d9137183bd10ddc650539efd1874 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 ##
 ## This file is part of the fx2lafw project.
 ##
-## Copyright (C) 2011-2012 Uwe Hermann <uwe@hermann-uwe.de>
+## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
 ##
 ## 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
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-SOURCES = fx2lafw.c debug.c
-A51_SOURCES = dscr.a51
-BASENAME = fx2lafw
+all: saleae-logic cwav-usbeeax
 
-FX2LIBDIR ?= fx2lib
+saleae-logic:
+       $(MAKE) -C hw/saleae-logic
 
-DEBUG ?= 0
-ifeq ($(DEBUG), 1)
-       SDCCFLAGS += -DDEBUG
-else
-       SDCCFLAGS += -DNDEBUG
-endif
+cwav-usbeeax:
+       $(MAKE) -C hw/cwav-usbeeax
 
-include $(FX2LIBDIR)/lib/fx2.mk
+clean:
+       rm -rf hw/saleae-logic/build
+       rm -rf hw/cwav-usbeeax/build
+
+.PHONY: saleae-logic cwav-usbeeax