home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-07 | 708 b | 30 lines |
- # BUILDN.MIP - Make file for DB-Library NT examples.
- #
- # Copyright (C) 1995 Microsoft Corp.
- #
-
- LINK = link.exe
- CC = cl.exe
- RC = rc.exe
-
- CFLAGS = -c -W3 -D_MIPS_=1 -DMIPS=1 -DDBNTWIN32 -Ot -DWIN32
- LFLAGS = -MACHINE:mips -subsystem:console -entry:mainCRTStartup
-
- SYS_LIB_LIST = kernel32.lib libcmt.lib
- DBLIB_LIB = ntwdblib.lib
-
- !if "$(DEBUG_TYPE)" == "debug"
- CFLAGS_DEBUG = -Od -Zi
- LFLAGS_DEBUG = -debug:full -debugtype:cv
- !endif
-
- all: $(APP).exe
-
- $(APP).exe: $(APP).c
-
- # Compile .c file
- .c.exe:
- @echo Now creating $(APP).exe...
- $(CC) $(CFLAGS) $(CFLAGS_DEBUG) $*.c
- $(LINK) $(LFLAGS) $(LFLAGS_DEBUG) -out:$*.exe $*.obj $(SYS_LIB_LIST) $(DBLIB_LIB)
-