1 # Copyright (c) 2002-2003 ActiveState Corp.
2 # Author: Trent Mick (TrentM@ActiveState.com)
4 # A Makefile to do this: launcher.cpp -> foo.exe
9 CFLAGS=-D_CONSOLE -D_MBCS -DWIN32 -W3 -Ox -DNDEBUG -D_NDEBUG -MD
10 LDFLAGS=/subsystem:console kernel32.lib user32.lib gdi32.lib advapi32.lib shlwapi.lib
12 # CFLAGS = -D_CONSOLE -D_MBCS /DWIN32 /Zi /Od /DDEBUG /D_DEBUG /MDd
15 $(APPNAME).exe: launcher.cpp
16 cl -nologo $(CFLAGS) -c launcher.cpp
17 link -nologo $(LDFLAGS) launcher.obj -out:$(APPNAME).exe
20 if exist launcher.obj; del launcher.obj
21 if exist $(APPNAME).exe; del $(APPNAME).exe