]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - hwclock/Makefile
Imported from util-linux-2.10s tarball.
[thirdparty/util-linux.git] / hwclock / Makefile
similarity index 88%
rename from clock/Makefile
rename to hwclock/Makefile
index 10e96051aaaf5d2e0812855a3c58c814a3e846cc..70ff6436c5b0cb9019248003efd83a1bbbd951fb 100644 (file)
@@ -23,7 +23,8 @@ hwclock: hwclock.o shhopt.o cmos.o rtc.o kd.o
 CWFLAGS := $(subst -Wmissing-prototypes,,$(CFLAGS))
 
 cmos.o: cmos.c
-       $(CC) $(CWFLAGS) -c $< -o $@
+       $(CC) $(CWFLAGS) -c cmos.c -o $@
+# $< expands to clock.h on some systems
 
 install: all
        $(INSTALLDIR) $(SBINDIR) $(BINDIR) $(USRBINDIR)