home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 44
/
PCGAMER44.bin
/
utils
/
wing
/
doggie.mk_
/
doggie.mk
Wrap
Text File
|
1995-06-20
|
1KB
|
54 lines
DEBUG=NO
!if "$(DEBUG)" == "YES"
DEF = -DDEBUG -DSTRICT -DPROFILE
CC = cl -c -W3 -AS -G2 -GA -Zi -Od $(DEF)
ASM = ml /c /Cx /Zi /Zm
LINK= link /NOE/NOD/MAP/AL:16/NOPACKCODE/CO
!else
DEF = -DSTRICT
CC = cl -c -W3 -AS -G3 -GA -Oxwt $(DEF)
ASM = ml /c /Cx /Zm
LINK= link /NOE/NOD/MAP/AL:16/NOPACKCODE
!endif
NAME= doggie
RC = rc
OBJDIR = .
OBJ = $(OBJDIR)\$(NAME).obj $(OBJDIR)\tblt.obj $(OBJDIR)\fast32.obj $(OBJDIR)\utils.obj
LIBS = libw slibcew commdlg wing mmsystem
.c{$(OBJDIR)}.obj:
$(CC) -Fo$*.obj $<
.asm{$(OBJDIR)}.obj:
$(ASM) $<
goal: $(NAME).exe
$(NAME).exe: $(OBJ) $(NAME).res $(NAME).def $(NAME).mk
$(LINK) @<<
$(OBJ) $(UTL), $(NAME), $(NAME),$(LIBS), $(NAME).def
<<
rc $(NAME).res
-mapsym $(NAME).map
$(NAME).res: $(NAME).rc $(NAME).ico
$(RC) -r $(NAME).rc
clean:
if exist $(NAME).exe del $(NAME).exe
if exist *.res del *.res
if exist *.err del *.err
if exist $(OBJDIR)\*.obj del $(OBJDIR)\*.obj
if exist *.map del *.map
if exist *.sym del *.sym
if exist *.cod del *.cod
if exist *.pdb del *.pdb
$(OBJDIR)\utils.obj: ..\utils\utils.c ..\utils\utils.h
$(CC) -Fo$*.obj ..\utils\utils.c