~verifydtapn-contributers/verifydtapn/trunk

« back to all changes in this revision

Viewing changes to makefile.win64

  • Committer: Jiri Srba
  • Date: 2017-09-18 13:43:37 UTC
  • mfrom: (334.1.8 verifydtapn)
  • Revision ID: srba.jiri@gmail.com-20170918134337-fi97wtwg1i1689kt
merged in branch lp:~verifydtapn-contributers/verifydtapn/win-compile 
allowing to cross compile to windows (min mac version is 10.9)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# For bash on OS X, as /bin/sh is compiled with --enable-strict-posix-default
 
2
SHELL                   = /bin/bash
 
3
 
 
4
# Programs for processing
 
5
LEX                             = flex 
 
6
YACC                            = bison 
 
7
CC                              = x86_64-w64-mingw32-g++ 
 
8
CUT                             = cut
 
9
 
 
10
# Compiler and linker flags
 
11
CFLAGS                  = -flto -DBOOST_DISABLE_THREADS -DNDEBUG -DDISABLE_ASSERTX -static -static -static-libgcc -static-libstdc++ -Wall -I../iaw64
 
12
 
 
13
LDFLAGS                 = -flto=4 -DBOOST_DISABLE_THREADS -DNDEBUG -DDISABLE_ASSERTX -static -static -static-libgcc -static-libstdc++ -Wall
 
14
 
 
15
# Input files
 
16
SOURCES                 = $(shell find * -name "*.cpp") 
 
17
OBJECTS                 = $(SOURCES:.cpp=.o)
 
18
TARGET                  = verifydtapn-win64
 
19
 
 
20
include rules.mk