mongoose/examples/Makefile
Deomid Ryabkov 129bb6b1c3 Add MSP432 lib and example
PUBLISHED_FROM=57ff02457269938feae805f2972b96b15931d41a
2016-04-12 11:18:37 +01:00

21 lines
553 B
Makefile

# Copyright (c) 2014 Cesanta Software
# All rights reserved
# `wildcard ./*/` works in both linux and linux/wine, while `wildcard */` enumerates nothing under wine
SUBDIRS = $(sort $(dir $(wildcard ./*/)))
SUBDIRS:=$(filter-out ./ ./CC3200/ ./ESP8266_RTOS/ ./MSP432/, $(SUBDIRS))
ifeq ($(OS), Windows_NT)
SUBDIRS:=$(filter-out ./load_balancer/ ./netcat/ ./raspberry_pi_mjpeg_led/ ./captive_dns_server/, $(SUBDIRS))
endif
.PHONY: $(SUBDIRS)
all: $(SUBDIRS)
$(SUBDIRS):
@$(MAKE) -C $@
clean:
for d in $(SUBDIRS) ; do $(MAKE) -C $$d clean ; done