compiler.h constants.h sg_inlines.h version.h
if WANT_HEADLESS
-METAR_DIRS =
SG_EXTRA_DIRS =
+METAR_DIRS =
else
SG_EXTRA_DIRS = scene sound screen
METAR_DIRS = environment
SGTHREAD_DIR =
endif
-SUBDIRS = \
- $(compatibility_DIR) \
+SUBDIRS_ALWAYS = \
xml \
debug \
misc \
io \
magvar \
math \
- $(METAR_DIRS) \
nasal \
props \
route \
- $(SG_EXTRA_DIRS) \
- $(SGTHREAD_DIR) \
serial \
- timing \
+ timing
+
+SUBDIRS = $(SUBDIRS_ALWAYS) \
+ $(compatibility_DIR) \
+ $(METAR_DIRS) \
+ $(SG_EXTRA_DIRS) \
+ $(SGTHREAD_DIR)
+
+DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads
-DIST_SUBDIRS = $(SUBDIRS) compatibility