Adding some basic instructions for future translations. Based on
[neverball] / Makefile
index 38b41af..113262c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -126,8 +126,7 @@ LINGUAS= $(POS:po/%.po=%)
 #------------------------------------------------------------------------------
 
 %.d : %.c
-       $(CC) $(CFLAGS) -Ishare -MM -MF $@ $<
-       sed -i 's+^[^:]*:+$*.o $@ :+' $@
+       $(CC) $(CFLAGS) -Ishare -MM -MF $@ -MT '$*.o $@' $<
 
 %.o : %.c
        $(CC) $(CFLAGS) -Ishare -o $@ -c $<