#============================= # Makefile to build xash utils # Author: Unkle Mike # # Please associate .nmake files as NMAKE.EXE "/f" "%1" for build this file #============================= !include MAINTARGET = bsplib OBJS = $(MAINTARGET).obj RES = $(MAINTARGET).rc default: $(MAINTARGET).exe $(MAINTARGET).exe: $(MAINTARGET).obj bsplib.res $(link) $(OBJS) bsplib.res /out:"bsplib.exe" /subsystem:console /opt:nowin98 /nodefaultlib:"libc.lib" @del $(MAINTARGET).obj $(MAINTARGET).lib $(MAINTARGET).exp $(MAINTARGET).res > nul @copy $(MAINTARGET).exe D:\Xash3D\bin\$(MAINTARGET).exe @del $(MAINTARGET).exe @echo Скопировано файлов: 1. clean: .cpp.obj: $(CC) $(CFLAGS) /c $< bsplib.res : bsplib.rc $(RC) $(RCFLAGS) /r bsplib.rc