]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
All subdirectories of app/ and libs4c/ are now compiled by default.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Jun 2006 09:19:00 +0000 (09:19 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Jun 2006 09:19:00 +0000 (09:19 +0000)
This is good if you link some applications and libraries to these dirs and want
the default-config to "process" the default configuration of these apps/libs.

darcs-hash:20060629091953-f2ef6-646aaf37033e8f8bfc92ca5f1098ea0fe94aaeb6.gz

app/Makefile.omk
libs4c/Makefile.omk

index c0148a77e7d00069799e06e1570a3ae42d8b5b5f..6ee1f4925173ef8ebcaa800143dba884c50121b5 100644 (file)
@@ -1,2 +1,4 @@
 # -*- makefile -*-
-SUBDIRS = bloader tohit rs_test usb_test
+
+# All subdirectories (even linked) with Makefile.omk
+SUBDIRS := $(shell find -L $(SOURCES_DIR) -maxdepth 2 -mindepth 2 -name Makefile.omk|sed 's!$(SOURCES_DIR)/\(.*\)/.*!\1!')
index a816d39720c47227f06328d5c07d8ee636bec8b0..6ee1f4925173ef8ebcaa800143dba884c50121b5 100644 (file)
@@ -1,3 +1,4 @@
 # -*- makefile -*-
 
-SUBDIRS = usb misc
+# All subdirectories (even linked) with Makefile.omk
+SUBDIRS := $(shell find -L $(SOURCES_DIR) -maxdepth 2 -mindepth 2 -name Makefile.omk|sed 's!$(SOURCES_DIR)/\(.*\)/.*!\1!')