root/trunk/win32/makefile

Revision 259, 0.6 kB (checked in by WeirdCat, 4 years ago)

changed the makefile(s) to make use of the new DMD feature to build libraries directly

Line 
1 # Makefile for the Windows API project
2 # Uses GNU Make-specific extensions
3
4 DC := dmd.exe
5
6 DFLAGS := -inline -O -release -w
7 #DFLAGS := -debug -gc -unittest -w
8
9 DFLAGS += -version=Unicode -version=WindowsVista
10
11 ########################################
12
13 SUBDIRS := directx
14
15 EXCLUSIONS := winsock.d
16
17 ########################################
18
19 SOURCES := $(wildcard *.d $(addsuffix /*.d, $(SUBDIRS)))
20 SOURCES := $(filter-out $(EXCLUSIONS), $(SOURCES))
21
22 ########################################
23
24 win32.lib : $(SOURCES)
25     $(DC) $^ -lib -of$@ $(DFLAGS)
26
27 clean :
28     -del win32.lib
29
30 .PHONY : clean
Note: See TracBrowser for help on using the browser.