home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 May
/
W2KPRK.iso
/
apps
/
posix
/
source
/
CHMOD
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1999-11-17
|
633b
|
24 lines
!include <ntwin32.mak>
C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
C_INCLUDES=-I..\include\bsd -I..\include\df
all: chmod.exe
..\bsdpsx\bsdpsx.lib:
cd ..\bsdpsx
nmake
cd ..\chmod
chmod.obj: chmod.c *.h
chmoglob.obj: chmoglob.c *.h
glob.obj: glob.c *.h
chmod.exe: chmod.obj chmoglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
$(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
.c.obj:
$(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c