summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.mingw32
blob: b03dbabaca820f2c770ef6633a475976c00c28f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
top_srcdir=..
include Makefile.am.plugingui

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

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

all: $(PLUGIN_GUI_SOURCES) plugingui.exe

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

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

clean:
	del -rf *.o plugingui.exe