Matthias Andreas Benkard | f59e097 | 2018-04-10 22:01:34 +0200 | [diff] [blame] | 1 | # 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 | |
| 10 | ifeq ($(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) |
| 15 | else |
| 16 | compile_goal := lib$(name).a |
| 17 | compile_goal_path := $(lib_output_path) |
| 18 | endif |
| 19 | |
| 20 | definition_list := WIN32 \ |
| 21 | UNICODE \ |
| 22 | WINVER=0x0400 \ |
| 23 | _WIN32_WINNT=0x0400 \ |
| 24 | _WIN32_WINDOWS=0x0400 \ |
| 25 | _WIN32_IE=0x0500 \ |
| 26 | $(definition_list) |