mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-25 00:57:49 +08:00
b39e30fb0c
PUBLISHED_FROM=ec4c4ec1ca7fee10c67fbba5a603d59fe44a046d
21 lines
615 B
Makefile
21 lines
615 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/ ./NXP_LPC4088/ ./NXP_K64/ ./PIC32/ ./STM32F4_CC3100/ ./mbed/ ./nRF51/ ./nRF52/, $(SUBDIRS))
|
|
|
|
ifeq ($(OS), Windows_NT)
|
|
SUBDIRS:=$(filter-out ./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
|