-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile.win32
54 lines (45 loc) · 1.68 KB
/
Makefile.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# D Text User Interface library Makefile
# $Id$
#
# This program is licensed under the GNU Lesser General Public License
# Version 3. Please see the file "COPYING" in this directory for more
# information about the GNU Lesser General Public License Version 3.
#
# Copyright (C) 2013 Kevin Lamonte
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, see
# http://www.gnu.org/licenses/, or write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
# USA
default: all
.SUFFIXES: .obj .d
TUI_SRC = tui.d base.d codepage.d twidget.d tapplication.d twindow.d \
tmessagebox.d tbutton.d tlabel.d tfield.d tcheckbox.d tradio.d \
tmenu.d ttimer.d ttext.d tprogress.d tscroll.d \
ttreeview.d teditor.d tfileopen.d tdirlist.d win32.d ecma.d
DC = dmd
INC = -I@srcdir@
DDOCDIR = ./ddoc
# DFLAGS = -w -wi $(INC) -release
DFLAGS = -w -wi -g $(INC) -debug -de -Dd$(DDOCDIR)
LDLIBS =
LDFLAGS = -lib $(LDLIBS)
all: tui demo1
demo1: tui demo1.d
$(DC) $(DFLAGS) $(LDLIBS) -ofdemo1 demo1.d libtui.lib
clean:
del libtui.lib core *.obj demo1.exe
tui: libtui.lib
libtui.lib: $(TUI_SRC)
$(DC) $(LDFLAGS) -oflibtui $(TUI_SRC)