Fix typos
[winelib-gnu-make.git] / clock+wow32 / Makefile
blobdc7cad45bb3a231f01e41db047d39faf766b2f97
1 # Example Makefile which demonstrates usage of Winemake build system
3 MODULES := clock.exe wow32.dll
4 SUBDIRS := winhttp
6 # global flags (exporting them affects subdirectories)
8 # use Wine's MSVCRT
9 # XXX: unfortunately incompatible with libstdc++ !
10 # export CEXTRA := -mno-cygwin
11 # export CXXEXTRA := -mno-cygwin
12 # export LDEXTRA := -mno-cygwin
14 # list of directories to place into include search path
15 INCLUDES:=
17 #############
18 # clock.exe #
19 #############
20 clock_exe_SRC := \
21 main.c \
22 winclock.c \
23 rsrc.rc \
24 clock_utils.c++ \
27 # target specific CFLAGS addons
28 clock.exe: CFLAGS += -fno-pic
30 # object specific CFLAGS addons
31 winclock.o:CFLAGS += -O3 -ffast-math
33 # # libstdc++ does not like MSVCRT (this is code-wise hackish)
34 # clock_utils.o: CXXEXTRA := $(filter-out -mno-cygwin,$(CXXEXTRA))
36 # target specific linker stuff
37 clock.exe: LDFLAGS := -mwindows
38 clock.exe: DLLS := odbc32
39 clock.exe: DLLS_DELAY := comdlg32
40 clock.exe: LIBS := uuid
43 #############
44 # wow32.dll #
45 #############
46 wow32_dll_SRC := \
47 wow_main.c \
48 wow32.spec \
51 wow32.dll: CFLAGS += -mno-cygwin
52 wow32.dll: CXXFLAGS += -mno-cygwin
53 wow32.dll: LDFLAGS += -mno-cygwin
57 # Include rules
59 # if located in non-std place, set in your environment
60 # MAKEFLAGS="-I /path/to/winemake-include-dir/"
62 # and just 'include Winemake.include'
64 # or put Winemake.include at the root of your project.
65 # or include Winemake.include in the top-level Makefile with explicit path.
66 # (this case is demonstrated here)
68 # NB: std-places (as stated in GNU make manual):
69 # /usr/include /usr/local/include ...
70 include ../Winemake.include