</$objtype/mkfile
HCFILES=\
CreateDirectory.hc\
DPermissions.hc\
Directory.hc\
DoesDirectoryExist.hc\
DoesDirectoryExist_.hc\
DoesFileExist.hc\
DoesFileExist_.hc\
GetCurrentDirectory.hc\
GetDirectoryContents.hc\
GetDirectoryContents_.hc\
GetModificationTime.hc\
GetModificationTime_.hc\
GetPermissions.hc\
##GetPermissions_.hc\
PatchIOError.hc\
RemoveDirectory.hc\
RemoveFile.hc\
RenameDirectory.hc\
RenameFile.hc\
SetCurrentDirectory.hc\
SetPermissions.hc\
##SetPermissions_.hc\
all:V:
for(i in $HCFILES)@{
##echo $i
hcp $i $i.c
$CC $CFLAGS $i.c
rm $i.c
}
clean:V:
rm *.$O
CC=pcc
CFLAGS=-DPlan9 -D_BSD_EXTENSION -DLOW_BYTE_FIRST \
-I../../runtime/Builtin -I../../runtime/Kernel\
-I../../runtime/Mk -I../../runtime/Integer\
-ND_POSIX_SOURCE -c
|