mongoose/examples/Makefile

21 lines
527 B
Makefile
Raw Normal View History

2014-08-05 16:40:51 +01:00
# 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/, $(SUBDIRS))
ifeq ($(OS), Windows_NT)
SUBDIRS:=$(filter-out ./load_balancer/ ./netcat/ ./raspberry_pi_mjpeg_led/ ./captive_dns_server/, $(SUBDIRS))
endif
2014-10-10 13:58:45 +01:00
.PHONY: $(SUBDIRS)
2012-09-24 21:25:06 +01:00
2014-10-10 13:58:45 +01:00
all: $(SUBDIRS)
2012-09-24 21:25:06 +01:00
2014-10-10 13:58:45 +01:00
$(SUBDIRS):
@$(MAKE) -C $@
2014-02-20 12:13:59 +00:00
2012-10-14 15:00:04 +01:00
clean:
for d in $(SUBDIRS) ; do $(MAKE) -C $$d clean ; done