summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.mingw32
blob: 68d70bc581a46beeb209aa1f7e166aed522799f4 (plain)
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
55
56
57
58
59
60
61
62
63
DG_SRC = \
	../src/configfile.cc \
	../src/thread.cc \
	../src/semaphore.cc \
	../src/mutex.cc

DG_CFLAGS = -I.. -I../include -I../src -DSSE -msse -msse2 -DDISABLE_HUGIN

GUI_SRC = \
	testmain.cc \
	dgwindow.cc \
	nativewindow_win32.cc \
	plugingui.cc \
	pluginconfig.cc \
	label.cc \
	eventhandler.cc \
	font.cc \
	window.cc \
	widget.cc \
	colour.cc \
	painter.cc \
	button.cc \
	pixelbuffer.cc \
	lineedit.cc \
	led.cc \
	layout.cc \
	checkbox.cc \
	slider.cc \
	scrollbar.cc \
	textedit.cc \
	texture.cc \
	texturedbox.cc \
	listbox.cc \
	listboxthin.cc \
	listboxbasic.cc \
	knob.cc \
	filebrowser.cc \
	directory.cc \
	image.cc \
	imagecache.cc \
	combobox.cc \
	progressbar.cc \
	verticalline.cc \
	resource.cc \
	resource_data.cc \
	lodepng/lodepng.cpp

GUI_CFLAGS=-DUSE_THREAD -DWIN32 -DSTANDALONE
GUI_LIBS=-lgdi32 -lsetupapi -lws2_32

DBG_SRC = \
	../hugin/hugin.c \
	../hugin/hugin_syslog.c

DBG_CFLAGS=-I../hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX -DDISABLE_HUGIN

all:
	gcc $(DBG_CFLAGS) ../hugin/hugin.c -c
	gcc $(DBG_CFLAGS) ../hugin/hugin_syslog.c -c
	g++ -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) hugin.o hugin_syslog.o $(DG_SRC) ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) -o plugingui.exe

clean:
	del -f drumgizmo_vst.dll libdrumgizmo_vst.a