summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.mingw32
blob: dbea890884a6c35ba113dcb6d8d9f5b70ead7cc4 (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
#top_srcdir=..
#include Makefile.am.plugingui

PLUGIN_GUI_SOURCES = \
	plugingui.cc \
	globalcontext.cc \
	label.cc \
	eventhandler.cc \
	font.cc \
	window.cc \
	widget.cc \
	colour.cc \
	painter.cc \
	button.cc \
	pixelbuffer.cc \
	filelineedit.cc \
	lineedit.cc \
	led.cc \
	checkbox.cc \
	slider.cc \
	thread.cc

CFLAGS=-DSTANDALONE -DWIN32 -DUSE_THREAD
LDFLAGS=-lgdi32

OBJECTS=$(PLUGIN_GUI_SOURCES:.cc=.o)

all: $(PLUGIN_GUI_SOURCES) plugingui.exe

plugingui.exe: $(OBJECTS)
	g++ $(OBJECTS) $(LDFLAGS) -o $@

%.o: %.cc
	g++ -c $(CFLAGS) $< -o $@

clean:
	del -rf *.o plugingui.exe