Fix rule to not assume GNU make.
[pspp] / modules / byteswap
index 1a3e0378c140607debeae060d0069f4dabfea7fc..5ff0618b1635236342ed7ef73a2bb4a77052ab7d 100644 (file)
@@ -17,7 +17,7 @@ EXTRA_DIST += byteswap_.h
 # We need the following in order to create <byteswap.h> when the system
 # doesn't have one.
 byteswap.h: byteswap_.h
-       cp $(srcdir)/$< $@-t
+       cp $(srcdir)/byteswap_.h $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += byteswap.h byteswap.h-t