mingw.mk

changeset 284
8e7ef0675946
parent 263
f24b730cb75e
child 407
9505224d2fd2
equal deleted inserted replaced
283:0e36bb75a732 284:8e7ef0675946
1 # 1 #
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 # 3 #
4 # Copyright 2016 Olaf Wintermann. All rights reserved. 4 # Copyright 2017 Olaf Wintermann. All rights reserved.
5 # 5 #
6 # Redistribution and use in source and binary forms, with or without 6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met: 7 # modification, are permitted provided that the following conditions are met:
8 # 8 #
9 # 1. Redistributions of source code must retain the above copyright 9 # 1. Redistributions of source code must retain the above copyright
29 CC = gcc 29 CC = gcc
30 LD = gcc 30 LD = gcc
31 AR = ar 31 AR = ar
32 RM = rm 32 RM = rm
33 33
34 CFLAGS = -std=gnu99 -g -c 34 CFLAGS = -std=gnu99 -O2 -c
35 COFLAGS = -o 35 COFLAGS = -o
36 LDFLAGS = 36 LDFLAGS =
37 LOFLAGS = -o 37 LOFLAGS = -o
38 ARFLAGS = -r 38 ARFLAGS = -r
39 RMFLAGS = -f 39 RMFLAGS = -f
40 40
41 OBJ_EXT = .o 41 OBJ_EXT = .o
42 LIB_EXT = .a 42 LIB_EXT = .a
43 APP_EXT = .exe 43 APP_EXT = .exe
44 44
45 DAV_CFLAGS = -I/usr/include/libxml2 45 DAV_CFLAGS = `xml2-config --cflags`
46 DAV_LDFLAGS = -lcurl -lxml2 -lssl -lcrypto -lws2_32 -lgdi32 -lregex 46 DAV_LDFLAGS = `xml2-config --libs` -lcurl -lssl -lcrypto -lws2_32 -lgdi32 -lregex
47 47

mercurial