Re-add minwin gtk example
This commit is contained in:
parent
bd19bcacf4
commit
5967eacdf0
52 changed files with 35078 additions and 0 deletions
87
samples/minwin_gtk/minwin/win32.mak
Normal file
87
samples/minwin_gtk/minwin/win32.mak
Normal file
|
@ -0,0 +1,87 @@
|
|||
|
||||
# To build minwin.lib type "make -f win32.mak"
|
||||
# The minwin.lib and object files will be created in the source directory.
|
||||
|
||||
# flags to use building unittest.exe
|
||||
DUNITFLAGS=-g -unittest -I..
|
||||
|
||||
# flags to use when building the minwi.lib library
|
||||
#DLIBFLAGS=-O -release -I..
|
||||
DLIBFLAGS=-g -I..
|
||||
|
||||
DMD = dmd
|
||||
LIB = lib
|
||||
|
||||
targets : minwin
|
||||
|
||||
#unittest : unittest.exe
|
||||
|
||||
LIBNAME = minwin.lib
|
||||
|
||||
minwin : $(LIBNAME)
|
||||
|
||||
SRC = app.d \
|
||||
window.d \
|
||||
peerimpl.d \
|
||||
paint.d \
|
||||
font.d \
|
||||
logging.d \
|
||||
geometry.d \
|
||||
mswindows.d \
|
||||
multidg.d \
|
||||
component.d \
|
||||
button.d \
|
||||
menu.d \
|
||||
event.d \
|
||||
icon.d \
|
||||
dialog.d \
|
||||
group.d \
|
||||
image.d \
|
||||
peer.d \
|
||||
label.d \
|
||||
text.d \
|
||||
combo.d \
|
||||
listbox.d \
|
||||
canvas.d \
|
||||
scroll.d \
|
||||
layout.d
|
||||
|
||||
OBJS = app.obj \
|
||||
window.obj \
|
||||
peerimpl.obj \
|
||||
paint.obj \
|
||||
font.obj \
|
||||
logging.obj \
|
||||
geometry.obj \
|
||||
mswindows.obj \
|
||||
multidg.obj \
|
||||
component.obj \
|
||||
button.obj \
|
||||
menu.obj \
|
||||
event.obj \
|
||||
icon.obj \
|
||||
dialog.obj \
|
||||
group.obj \
|
||||
image.obj \
|
||||
peer.obj \
|
||||
label.obj \
|
||||
text.obj \
|
||||
combo.obj \
|
||||
listbox.obj \
|
||||
canvas.obj \
|
||||
scroll.obj \
|
||||
layout.obj
|
||||
|
||||
.d.obj :
|
||||
$(DMD) -c $(DLIBFLAGS) -of$@ $<
|
||||
|
||||
$(LIBNAME) : $(OBJS) $(SRC)
|
||||
$(LIB) -c $@ $(OBJS)
|
||||
|
||||
#unittest.exe : $(LIBNAME) $(SRC)
|
||||
# $(DMD) $(DUNITFLAGS) unittest.d -ofunittest.exe $(SRC)
|
||||
|
||||
clean:
|
||||
- del *.obj
|
||||
- del $(LIBNAME)
|
||||
- del unittest.exe
|
Loading…
Add table
Add a link
Reference in a new issue