blob: 06a12e31d0a7ae2c04b8a65cec39862e07cf1b94 [file] [log] [blame]
Matthias Andreas Benkardf59e0972018-04-10 22:01:34 +02001# Copyright 2015 Andrew Gottemoller.
2#
3# This software is a copyrighted work licensed under the terms of the
4# Weld license. Please consult the file "WELD_LICENSE" for
5# details.
6
7# This makefile defines settings for the windows platform
8
9
10ifeq ($(type), bin)
11 compile_goal := $(patsubst $(output_path)/%,%,$(bin_output_path))/$(name).exe
12 compile_goal_path := $(output_path)
13
14 link_flag_list := -mwindows $(link_flag_list)
15else
16 compile_goal := lib$(name).a
17 compile_goal_path := $(lib_output_path)
18endif
19
20definition_list := WIN32 \
21 UNICODE \
22 WINVER=0x0400 \
23 _WIN32_WINNT=0x0400 \
24 _WIN32_WINDOWS=0x0400 \
25 _WIN32_IE=0x0500 \
26 $(definition_list)