mirror of
https://github.com/fadden/nulib2.git
synced 2024-11-18 23:05:04 +00:00
Minor tweaks to MSC makefile.
This commit is contained in:
parent
49f396f5c3
commit
8b44f2a7b2
@ -33,20 +33,24 @@ OBJS = $(OBJS1) $(OBJS2)
|
||||
!ifdef DLL
|
||||
### build using the same libc as the DLL
|
||||
!ifdef NODEBUG
|
||||
#OPT = $(cdebug) /D NDEBUG /MD
|
||||
OPT = $(cdebug) /MD
|
||||
LIB_FLAGS = /nodefaultlib:libcd.lib /nologo setargv.obj
|
||||
!else
|
||||
OPT = $(cdebug) /MDd
|
||||
#OPT = $(cdebug) /MDd
|
||||
OPT = $(cdebug) /D DEBUG_MSGS /MDd
|
||||
LIB_FLAGS = /nodefaultlib:libc.lib /nologo setargv.obj
|
||||
!endif
|
||||
!else
|
||||
|
||||
### build against static lib
|
||||
!ifdef NODEBUG
|
||||
#OPT = $(cdebug) /D NDEBUG /ML
|
||||
OPT = $(cdebug) /ML
|
||||
LIB_FLAGS = /nodefaultlib:libcd.lib /nologo libc.lib setargv.obj
|
||||
!else
|
||||
OPT = $(cdebug) /MLd
|
||||
#OPT = $(cdebug) /MLd
|
||||
OPT = $(cdebug) /D DEBUG_MSGS /MLd
|
||||
LIB_FLAGS = /nodefaultlib:libc.lib /nologo libcd.lib setargv.obj
|
||||
!endif
|
||||
!endif
|
||||
|
Loading…
Reference in New Issue
Block a user