Changeset 344 in xtideuniversalbios for trunk/Serial_Server


Ignore:
Timestamp:
Mar 14, 2012, 6:30:55 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Serial Server:

  • Makefile now works with Windows SDK 7.1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Serial_Server/makefile

    r343 r344  
    55# File:        makefile
    66#
    7 # Use with GNU Make and Microsoft Visual C++ 2010
     7# Use with GNU Make or Microsoft Nmake
     8# Build with Microsoft Visual C++ 2010 or Windows SDK v7.1
    89#
    910# Also works with Open Watcom C/C++ Version 1.9
     
    1213HEADERS = library/library.h win32/win32file.h win32/win32serial.h library/file.h library/flatimage.h
    1314
    14 CL = cl
    15 CLFLAGS = /Ox /DWIN32
     15CXX = cl
     16CXXFLAGS = /Ox /DWIN32
    1617
    1718WIN32OBJS = build/win32.obj build/checksum.obj build/serial.obj build/process.obj build/image.obj
    1819
    1920build/serdrive.exe: $(WIN32OBJS)
    20     @$(CL) /Febuild/serdrive.exe $(WIN32OBJS)
     21    @$(CXX) /Febuild/serdrive.exe $(WIN32OBJS)
    2122
    2223build/win32.obj:    win32/win32.cpp $(HEADERS)
    23     @$(CL) /c $(CLFLAGS) win32/win32.cpp /Fobuild/win32.obj
     24    @$(CXX) /c $(CXXFLAGS) win32/win32.cpp /Fobuild/win32.obj
    2425
    2526build/checksum.obj: library/checksum.cpp $(HEADERS)
    26     @$(CL) /c $(CLFLAGS) library/checksum.cpp /Fobuild/checksum.obj
     27    @$(CXX) /c $(CXXFLAGS) library/checksum.cpp /Fobuild/checksum.obj
    2728
    2829build/serial.obj:   library/serial.cpp $(HEADERS)
    29     @$(CL) /c $(CLFLAGS) library/serial.cpp /Fobuild/serial.obj
     30    @$(CXX) /c $(CXXFLAGS) library/serial.cpp /Fobuild/serial.obj
    3031
    3132build/process.obj:  library/process.cpp $(HEADERS)
    32     @$(CL) /c $(CLFLAGS) library/process.cpp /Fobuild/process.obj
     33    @$(CXX) /c $(CXXFLAGS) library/process.cpp /Fobuild/process.obj
    3334
    3435build/image.obj:    library/image.cpp $(HEADERS)
    35     @$(CL) /c $(CLFLAGS) library/image.cpp /Fobuild/image.obj
     36    @$(CXX) /c $(CXXFLAGS) library/image.cpp /Fobuild/image.obj
    3637
    3738
     
    4647
    4748build/checksum_test.exe:    library/checksum.cpp
    48     @$(CL) /Febuild/checksum_test.exe /Ox library/checksum.cpp /Fobuild/checksum_test.obj -D CHECKSUM_TEST
     49    @$(CXX) /Febuild/checksum_test.exe /Ox library/checksum.cpp /Fobuild/checksum_test.obj -D CHECKSUM_TEST
    4950
Note: See TracChangeset for help on using the changeset viewer.