X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile;h=4c1ded6cbab3d9137183bd10ddc650539efd1874;hb=64d4773073e3b40c7c4a4eef609df959fa7591c9;hp=dee427041a8fc2a73c66b9c74f1063f3a4e673df;hpb=c430e296be053c17d4d5f40c53378d401ab07a17;p=sigrok-firmware-fx2lafw.git diff --git a/Makefile b/Makefile index dee42704..4c1ded6c 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,18 +18,17 @@ ## 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