Revision 1d5bcc82 Makefile

View differences:

Makefile
27 27
AMIROLLD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28 28

  
29 29
# include paths
30
AMIROLLD_INC = $(AMIROLLD_DIR:/=) \
31
               $(AMIROLLD_DIR)include
32

  
33
AMIROLLD_SRCDIR = $(AMIROLLD_DIR)source
30
AMIROLLD_INC = $(AMIROLLD_DIR) \
31
               $(sort $(dir $(wildcard $(AMIROLLD_DIR)include/?*/)))
34 32

  
35 33
# C sources
36
AMIROLLD_CSRC = $(wildcard $(AMIROLLD_SRCDIR)/*.c)
34
AMIROLLD_CSRC = $(wildcard $(AMIROLLD_DIR)source/*/*/*.c)
37 35

  

Also available in: Unified diff