-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile.visualc
executable file
·54 lines (37 loc) · 1.68 KB
/
makefile.visualc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# pixeltoaster makefile for visualc
flags = /EHsc /EHc /O2 /W4 /fp:fast /nologo /Ob2 /GL /GA
source = PixelToaster.cpp
examples = ExampleTrueColor.exe ExampleFullscreen.exe ExampleFloatingPoint.exe ExampleTimer.exe ExampleKeyboardAndMouse.exe ExampleImage.exe
headers = PixelToaster.h PixelToasterCommon.h PixelToasterConversion.h PixelToasterUnix.h
pkconfig = PixelToaster-1.4.pc
all : $(examples)
ExampleTrueColor.exe : ExampleTrueColor.cpp $(headers) makefile.visualc
cl ExampleTrueColor.cpp PixelToaster.cpp $(flags)
ExampleFullscreen.exe : ExampleFullscreen.cpp $(headers) makefile.visualc
cl ExampleFullscreen.cpp PixelToaster.cpp $(flags)
ExampleFloatingPoint.exe : ExampleFloatingPoint.cpp $(headers) makefile.visualc
cl ExampleFloatingPoint.cpp PixelToaster.cpp $(flags)
ExampleTimer.exe : ExampleTimer.cpp $(headers) makefile.visualc
cl ExampleTimer.cpp PixelToaster.cpp $(flags)
ExampleKeyboardAndMouse.exe : ExampleKeyboardAndMouse.cpp $(headers) makefile.visualc
cl ExampleKeyboardAndMouse.cpp PixelToaster.cpp $(flags)
ExampleImage.exe : ExampleImage.cpp $(headers) makefile.visualc
cl ExampleImage.cpp PixelToaster.cpp $(flags)
ExampleMultiDisplay.exe : ExampleMultiDisplay.cpp $(headers) makefile.visualc
cl ExampleMultiDisplay.cpp PixelToaster.cpp $(flags)
Test.exe : Test.cpp $(headers) makefile.visualc
cl Test.cpp PixelToaster.cpp $(flags)
Profile.exe : Profile.cpp $(headers) makefile.visualc
cl Profile.cpp PixelToaster.cpp $(flags)
documentation : PixelToaster.h $(headers) doxygen.config
doxygen doxygen.config
docs : documentation
test : Test.exe
Test
profile : Profile.exe
Profile
clean:
erase *.exe
erase *.obj
erase /Q documentation\*
rmdir documentation