diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,5 @@ +.POSIX: + strerror: strerror.c strerror.h $(CC) $(CFLAGS) -o $@ strerror.c @@ -7,3 +9,6 @@ strerror.h: errlist Makefile printf 'const char *errlist[] = {\n' >> $@ awk '{printf("#ifdef %s\n\t[%s] = \"%s\",\n#endif\n", $$0, $$0, $$0);}' errlist >> $@ printf '};\n\n#endif\n' >> $@ + +clean: + rm -f strerror *.o |