view win32/makefile @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
line wrap: on
line source

# 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)

clean :
	-del win32.lib

.PHONY : clean