mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 08:19:42 +08:00
4f9627c612
Moved filesystem-related code out of SJS and into common. Made it possible to have one, both or no filesystems enabled. FailFS is now SimpleLinkFS, SLFS (ahem). Example just serves a "Hello, world!" index page for now. PUBLISHED_FROM=0e98ee4b8d95782c10791522c42eae5a7ba314f9
21 lines
527 B
Makefile
21 lines
527 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/, $(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
|