basic framework

This commit is contained in:
jlamothe 2023-10-31 22:43:33 +00:00
parent 7e6030fd7a
commit 088e58ef11
6 changed files with 36 additions and 0 deletions

1
lib.c Normal file
View File

@ -0,0 +1 @@
//jl

1
lib.h Normal file
View File

@ -0,0 +1 @@
//jl

12
main.c Normal file
View File

@ -0,0 +1,12 @@
#include <u.h>
#include <libc.h>
#include "lib.h"
void
main()
{
exits(0);
}
//jl

9
mkfile
View File

@ -1 +1,10 @@
</$objtype/mkfile </$objtype/mkfile
qfmt: main.$O lib.$O
$LD $LDFLAGS -o qfmt main.$O lib.$O
TEST=test
</sys/src/cmd/mktest
#jl

7
test/mkfile Normal file
View File

@ -0,0 +1,7 @@
</$objtype/mkfile
TEST=qfmt
</sys/src/cmd/mktest
#jl

6
test/qfmt.rc Executable file
View File

@ -0,0 +1,6 @@
#!/bin/rc
cd ..
mk qfmt
#jl