Artifact 8869c92aa8b03b7f52250596ab660e6babda4884
- File
src/win32/makefile
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
# Makefile for the Windows API project # Uses GNU Make-specific extensions DC := dmd.exe DFLAGS := -inline -O -release -w #DFLAGS := -debug -gc -unittest -w DFLAGS += -version=Unicode -version=WindowsVista ######################################## SUBDIRS := directx EXCLUSIONS := winsock.d ######################################## SOURCES := $(wildcard *.d $(addsuffix /*.d, $(SUBDIRS))) SOURCES := $(filter-out $(EXCLUSIONS), $(SOURCES)) ######################################## win32.lib : $(SOURCES) $(DC) $^ -lib -of$@ $(DFLAGS) win64.lib : $(SOURCES) $(DC) $^ -lib -m64 -of$@ $(DFLAGS) clean : -del win32.lib -del win64.lib .PHONY : clean