Convert boot/ and commands/ over to bsdmake
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
PROG= sync
|
||||
BINDIR= /bin
|
||||
MAN=
|
||||
|
||||
.include <minix.prog.mk>
|
||||
@@ -0,0 +1,14 @@
|
||||
/* sync - flush the file system buffers. Author: Andy Tanenbaum */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
_PROTOTYPE(int main, (void));
|
||||
|
||||
int main()
|
||||
{
|
||||
/* First prize in shortest useful program contest. */
|
||||
/* Highest comment/code ratio */
|
||||
sync();
|
||||
return(0);
|
||||
}
|
||||
Reference in New Issue
Block a user