[Onhm-cvs-commits] SF.net SVN: onhm:[9] software/Makefile
Status: Planning
Brought to you by:
cheezel
|
From: <ch...@us...> - 2010-04-10 02:44:06
|
Revision: 9
http://onhm.svn.sourceforge.net/onhm/?rev=9&view=rev
Author: cheezel
Date: 2010-04-10 02:44:00 +0000 (Sat, 10 Apr 2010)
Log Message:
-----------
- Changed the clean operation to also remove dependancy files
- Cleaned up generated status output
Modified Paths:
--------------
software/Makefile
Modified: software/Makefile
===================================================================
--- software/Makefile 2010-04-10 02:37:30 UTC (rev 8)
+++ software/Makefile 2010-04-10 02:44:00 UTC (rev 9)
@@ -17,6 +17,7 @@
clean:
find . -name "*.o" -exec rm -f {} \;
+ find . -name "*.d" -exec rm -f {} \;
rm -f $(BINS)
dist-clean: clean
@@ -25,12 +26,15 @@
binaries: ohmd
%.d: %.c
- ./depends.sh `dirname $*` $(CFLAGS) $(INCS) $*.c > $@
+ @echo " DEPS $*.c"
+ @./depends.sh `dirname $*` $(CFLAGS) $(INCS) $*.c > $@
include $(OBJ:.o=.d)
%.o: %.c %.d
- $(CC) $(INCS) -c $< -o $@
+ @echo " CC $*.c"
+ @$(CC) $(INCS) -c $< -o $@
ohmd: src/ohmd.d $(OBJ)
- $(CC) $(OBJ) -o ohmd
+ @echo " LINK ohmd"
+ @$(CC) $(OBJ) -o ohmd
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|