-if ENABLE_AUDIO_SUPPORT
-AUDIO_DIRS = Audio
+if ENABLE_UNIX_SERIAL
+SERIAL_DIRS = Serial
else
-AUDIO_DIRS =
+SERIAL_DIRS =
endif
-SUBDIRS = $(AUDIO_DIRS) Bucket Debug DEM gpc Math PUI XGL zlib
+SUBDIRS = \
+ Bucket \
+ Debug \
+ Math \
+ Misc \
+ $(SERIAL_DIRS) \
+ XGL\
+ zlib