Browse code

Makefile: make TAGS skips the obsolete folder

- use make TAGS-ALL to include all the folders

Daniel-Constantin Mierla authored on 28/12/2012 23:09:47
Showing 2 changed files
... ...
@@ -270,7 +270,7 @@ CC_LONGVER:=$(shell if  $(CC) -v 2>/dev/null; then \
270 270
 					else \
271 271
 						$(CC) -V 2>&1 ; \
272 272
 					fi )
273
-MKTAGS=ctags -R .
273
+MKTAGS=ctags
274 274
 
275 275
 #find-out the compiler's name
276 276
 
... ...
@@ -288,10 +288,14 @@ clean_doxygen:
288 288
 
289 289
 .PHONY: TAGS
290 290
 TAGS:
291
-	$(MKTAGS) 
292
-	
293
-	
294
-	
291
+	$(MKTAGS) --exclude="obsolete/*" -R .
292
+
293
+.PHONY: TAGS-ALL
294
+TAGS-ALL:
295
+	$(MKTAGS) -R .
296
+
297
+
298
+
295 299
 ifeq (,$(MAKECMDGOALS))
296 300
 -include $(depends)
297 301
 else