From d369bbe7164dd35e75a7bad9e7b5497512bb5fe9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 17 Mar 2013 14:55:48 +0100 Subject: Added PNG loadin support through a new Image class. --- plugingui/Makefile.mingw32 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugingui/Makefile.mingw32') diff --git a/plugingui/Makefile.mingw32 b/plugingui/Makefile.mingw32 index 17e232f..6d6c003 100644 --- a/plugingui/Makefile.mingw32 +++ b/plugingui/Makefile.mingw32 @@ -2,9 +2,8 @@ top_srcdir=.. include Makefile.am.plugingui CFLAGS=-DSTANDALONE -DWIN32 -DUSE_THREAD ${PLUGIN_GUI_CFLAGS} \ - -I$(top_srcdir)/src -LDFLAGS=-mconsole -lgdi32 -lsetupapi -lws2_32 -#-lgdi32 + -I$(top_srcdir)/src -I/local/include +LDFLAGS=-mconsole -lgdi32 -lsetupapi -lws2_32 -L/local/lib -lpng -lz -pthread C_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ @@ -33,6 +32,7 @@ CXX_SOURCES = \ $(top_srcdir)/plugingui/filebrowser.cc \ $(top_srcdir)/plugingui/knob.cc \ $(top_srcdir)/plugingui/combobox.cc \ + $(top_srcdir)/plugingui/image.cc \ $(top_srcdir)/src/thread.cc \ $(top_srcdir)/src/semaphore.cc @@ -44,13 +44,13 @@ OBJECTS=$(CXX_SOURCES:.cc=.o) $(C_SOURCES:.c=.o) all: $(CXX_SOURCES) $(C_SOURCES) plugingui.exe plugingui.exe: $(OBJECTS) - g++ $(OBJECTS) $(LDFLAGS) $(CFLAGS) -o $@ + g++ -static -static-libgcc $(OBJECTS) $(LDFLAGS) $(CFLAGS) -o $@ %.o: %.cc - g++ -O2 -c $(CFLAGS) $< -o $@ + g++ -static -static-libgcc -O2 -c $(CFLAGS) $< -o $@ %.o: %.c - gcc -O2 -c $(CFLAGS) $< -o $@ + gcc -static -static-libgcc -O2 -c $(CFLAGS) $< -o $@ clean: - del -rf *.o plugingui.exe + rm -rf $(OBJECTS) plugingui.exe -- cgit v1.2.3