Statistics
| Branch: | Tag: | Revision:

mongoose / examples / Makefile @ eaef5bd1

History | View | Annotate | Download (635 Bytes)

1
# Copyright (c) 2014 Cesanta Software
2
# All rights reserved
3

    
4
# `wildcard ./*/` works in both linux and linux/wine, while `wildcard */` enumerates nothing under wine
5
SUBDIRS = $(sort $(dir $(wildcard ./*/)))
6
SUBDIRS:=$(filter-out ./ ./CC3200/ ./ESP8266_RTOS/ ./mbed/ ./MSP432/ ./nRF51/ ./nRF52/ ./NXP_K64/ ./NXP_LPC4088/ ./PIC32/ ./STM32F4_CC3100/ ./TM4C129/ ./WinCE/, $(SUBDIRS))
7

    
8
ifeq ($(OS), Windows_NT)
9
  SUBDIRS:=$(filter-out ./netcat/ ./raspberry_pi_mjpeg_led/ ./captive_dns_server/, $(SUBDIRS))
10
endif
11

    
12
.PHONY: $(SUBDIRS)
13

    
14
all: $(SUBDIRS)
15

    
16
$(SUBDIRS):
17
	@$(MAKE) -C $@
18

    
19
clean:
20
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d clean ; done