Last change
on this file since 220 was 219, checked in by gregli@…, 13 years ago |
Serial Server, more minor improvements, added support for larger than 2 GB disks under Win32
|
File size:
844 bytes
|
Rev | Line | |
---|
[209] | 1 | ######################################################################
|
---|
| 2 | #
|
---|
| 3 | # Project: XTIDE Universal BIOS, Serial Port Server
|
---|
| 4 | #
|
---|
| 5 | # File: makefile
|
---|
| 6 | #
|
---|
| 7 | # Use with GNU Make and Microsoft Visual C++ 2010
|
---|
| 8 | #
|
---|
| 9 |
|
---|
| 10 | CL = cl
|
---|
[219] | 11 | CLFLAGS = /Ox /DWIN32
|
---|
[209] | 12 |
|
---|
[219] | 13 | WIN32OBJS = build/win32.obj build/checksum.obj build/serial.obj build/process.obj build/image.obj
|
---|
[209] | 14 |
|
---|
[211] | 15 | build/serdrive.exe: $(WIN32OBJS)
|
---|
| 16 | $(CL) /Febuild/serdrive.exe $(WIN32OBJS)
|
---|
[209] | 17 |
|
---|
| 18 | build/%.obj: win32/%.cpp
|
---|
| 19 | $(CL) /c $(CLFLAGS) $< /Fo$@
|
---|
| 20 |
|
---|
| 21 | build/%.obj: library/%.cpp
|
---|
| 22 | $(CL) /c $(CLFLAGS) $< /Fo$@
|
---|
| 23 |
|
---|
[219] | 24 | $(WIN32OBJS): library/library.h win32/win32file.h win32/win32serial.h library/file.h library/flatimage.h
|
---|
[209] | 25 |
|
---|
| 26 | build/checksum_test.exe: library/checksum.cpp
|
---|
| 27 | $(CL) /Febuild/checksum_test.exe /Ox library/checksum.cpp /Fobuild/checksum_test.obj -D CHECKSUM_TEST
|
---|
| 28 |
|
---|
| 29 | clean:
|
---|
| 30 | del /q build\*.*
|
---|
| 31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.