diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-04 17:01:59 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-04 17:01:59 -0700 |
commit | 397c169736925214b495d841f00a9ccd9b329e66 (patch) | |
tree | 90ade77e8153dc2cb35666f710c66c0158066e81 /Mkfiles/msvc.mak | |
parent | 9255b5136992c2c1dee2fd11b9d2a389b377162d (diff) | |
download | nasm-397c169736925214b495d841f00a9ccd9b329e66.tar.gz |
Move config.h to a subdirectory, add MSVC-specific config file
Instead of trying to do hacks in the Makefiles, define header files
for specific compilers if they can't use autoconf. Currently defined
for Microsoft Visual Studio, based on MSDN documentation. It is
currently untested.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'Mkfiles/msvc.mak')
-rw-r--r-- | Mkfiles/msvc.mak | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak index 9e58a5ff..4b20b445 100644 --- a/Mkfiles/msvc.mak +++ b/Mkfiles/msvc.mak @@ -29,9 +29,13 @@ CC = cl LD = link AR = lib CFLAGS = $(CFLAGS) /W2 -BUILD_CFLAGS = $(CFLAGS) /I$(srcdir)/inttypes +BUILD_CFLAGS = $(CFLAGS) INTERNAL_CFLAGS = /I$(srcdir) /I. \ - /DHAVE__SNPRINTF /DHAVE__VSNPRINTF /DHAVE__FULLPATH + /I$(srcdir)/include /I./include \ + /I$(srcdir)/x86 /I./x86 \ + /I$(srcdir)/asm /I./asm \ + /I$(srcdir)/disasm /I./disasm \ + /I$(srcdir)/output /I./output \ ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) LDFLAGS = $(LDFLAGS) /SUBSYSTEM:CONSOLE /RELEASE LIBS = |