home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
source
/
chmod
/
makefile
< prev
next >
Wrap
Makefile
|
1995-05-18
|
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