home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM User 1995 January
/
CDuser6Jan95.iso
/
DYNASTY
/
WING
/
CUBE.MK_
/
CUBE.MK
Wrap
Text File
|
1994-06-24
|
928b
|
54 lines
DEBUG=NO
!if "$(DEBUG)" == "YES"
DEF = -DDEBUG -DSTRICT -DPROFILE
CC = cl -c -W3 -AS -G3 -Gs -GA -Zip -Oxwt /FPi $(DEF)
!else
DEF = -DSTRICT
CC = cl -c -W3 -AS -G3 -Gs -GA -Oxwt /FPi $(DEF)
!endif
ASM = masm -Mx -Zi
LINK= link /NOE/NOD/MAP/AL:16
NAME= cube
RC = rc
OBJDIR = .
OBJ = $(OBJDIR)\$(NAME).obj $(OBJDIR)\dumb3d.obj
LIBS = libw slibcew wing
goal: $(NAME).exe
.cpp{$(OBJDIR)}.obj:
$(CC) -Fo$*.obj $<
.asm{$(OBJDIR)}.obj:
$(ASM) $<, $*.obj;
$(NAME).exe: $(OBJ) $(NAME).res $(NAME).def
$(LINK) @<<
$(OBJ),
$(NAME),
$(NAME),
$(LIBS),
$(NAME).def
<<
rc -k $(NAME).res
-cvpack -p $(NAME).exe
-mapsym $(NAME).map
$(NAME).res: $(NAME).rc $(NAME).ico
$(RC) -r $(NAME).rc
clean:
del $(NAME).exe
del *.res
del *.err
del $(OBJDIR)\*.obj
del *.map
del *.sym
del *.cod
del *.pdb