1 # $Id: Makefile,v 1.1 2002/05/29 19:40:27 nedko Exp $
4 # Copyright (C) 2000,2001,2002 Nedko Arnaudov <nedko@users.sourceforge.net>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #debugflags = /D_DEBUG /Zi /Od
21 #linkdebugflags = /DEBUG
25 cc = cl
-c
-nologo
$(debugflags
)
26 link
= link
$(crtlib
) /NODEFAULTLIB
:LIBC
$(linkdebugflags
)
28 linklibs
= gdi32.lib comdlg32.lib
32 switcher.res
: switcher.rc switcher.h res\Background.bmp
33 rc
-r
-fo switcher.res switcher.rc
35 switcher.obj
: ph.h switcher.
cpp switcher.h DesktopSwitcher.h
38 RunDialog.obj
: ph.h RunDialog.
cpp RunDialog.h
41 SwitcherWindow.obj
: ph.h SwitcherWindow.
cpp SwitcherWindow.h DesktopSwitcher.h RunDialog.h switcher.h ShadowWindow.h
42 $(cc) SwitcherWindow.
cpp
44 Desktop.obj
: ph.h Desktop.
cpp Desktop.h SwitcherWindow.h switcher.h ShadowWindow.h
47 DesktopSwitcher.obj
: ph.h DesktopSwitcher.
cpp DesktopSwitcher.h Desktop.h
48 $(cc) DesktopSwitcher.
cpp
50 MRU.obj
: ph.h MRU.
cpp MRU.h
53 #ShadowWindow.obj: ph.h ShadowWindow.cpp ShadowWindow.h
54 # $(cc) ShadowWindow.cpp
56 LINK_INPUT
=switcher.obj RunDialog.obj SwitcherWindow.obj Desktop.obj DesktopSwitcher.obj MRU.obj switcher.res
58 switcher.exe
: $(LINK_INPUT
)
59 $(link
) -out
:switcher.exe \
60 $(LINK_INPUT
) $(linklibs
)