source: xtideuniversalbios/trunk/Serial_Server/makefile@ 209

Last change on this file since 209 was 209, checked in by gregli@…, 13 years ago

Initial checkin for the Serial Server code, to be run on a host computer with a hard disk image file. Connected via a serial line, this provides the I/O for the serial port support in the XTIDE bios. At present, this is a Win32 command line program, run without parameters for usage information.

File size: 805 bytes
Line 
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
10CL = cl
11CLFLAGS = /Ox
12
13WIN32OBJS = build/win32.obj build/win32serial.obj build/checksum.obj build/serial.obj build/flatimage.obj build/process.obj build/image.obj
14
15build/serserve.exe: $(WIN32OBJS)
16 $(CL) /Febuild/serserve.exe $(WIN32OBJS)
17
18build/%.obj: win32/%.cpp
19 $(CL) /c $(CLFLAGS) $< /Fo$@
20
21build/%.obj: library/%.cpp
22 $(CL) /c $(CLFLAGS) $< /Fo$@
23
24$(WIN32OBJS): library/library.h
25
26build/checksum_test.exe: library/checksum.cpp
27 $(CL) /Febuild/checksum_test.exe /Ox library/checksum.cpp /Fobuild/checksum_test.obj -D CHECKSUM_TEST
28
29clean:
30 del /q build\*.*
31
Note: See TracBrowser for help on using the repository browser.