Changeset 5 for lm-sensors/trunk/Makefile
- Timestamp:
- 11/03/98 02:32:55 (15 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/Makefile
r4 r5 63 63 .PHONY: all clean install version package 64 64 65 # Make all the default rule 66 all:: 67 65 68 # Include all makefiles for sub-modules 66 69 include $(patsubst %,%/Module.mk,$(MODULES)) … … 73 76 clean:: 74 77 $(RM) lm_sensors-* 78 79 # Create a dependency file. Tricky. 80 %.d: %.c 81 gcc -M -MG $(CFLAGS) $< | \ 82 sed -e 's@ /[^ ]*@@g' -e 's@^\(.*\)\.o:@\1.d \1.o:@' > $@ 83 75 84 76 85 # This is tricky, but it works like a charm. It needs lots of utilities
