Created
August 27, 2014 15:02
-
-
Save lucasg/eeea7df3cd3c267b765b to your computer and use it in GitHub Desktop.
gtk_popup_makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARCH = win | |
# lin osx | |
GTK_ROOT_FOLDER = "F:/dev/gtk" | |
TARGET = bug.exe | |
COMP = gcc | |
# COMP = g++ | |
CFLAGS = -g -Wall | |
# --verbose | |
FLAGS = -mwindows \ | |
-mms-bitfields | |
INC = -I$(GTK_ROOT_FOLDER)"/include" \ | |
-I$(GTK_ROOT_FOLDER)"/include/atk-1.0" \ | |
-I$(GTK_ROOT_FOLDER)"/include/cairo" \ | |
-I$(GTK_ROOT_FOLDER)"/include/freetype2" \ | |
-I$(GTK_ROOT_FOLDER)"/include/gdk-pixbuf-2.0" \ | |
-I$(GTK_ROOT_FOLDER)"/include/glib-2.0" \ | |
-I$(GTK_ROOT_FOLDER)"/include/gtk-3.0" \ | |
-I$(GTK_ROOT_FOLDER)"/include/libpng15" \ | |
-I$(GTK_ROOT_FOLDER)"/include/libpng15" \ | |
-I$(GTK_ROOT_FOLDER)"/include/pango-1.0" \ | |
-I$(GTK_ROOT_FOLDER)"/include/pixman-1" \ | |
-I$(GTK_ROOT_FOLDER)"/lib/glib-2.0/include" | |
LIBS = -L$(GTK_ROOT_FOLDER)"/lib" \ | |
-lmingw32 \ | |
-latk-1.0 \ | |
-lcairo \ | |
-lcairo-gobject \ | |
-lfontconfig \ | |
-lfreetype \ | |
-lgdi32 \ | |
-lgdk-3 \ | |
-lgdk_pixbuf-2.0 \ | |
-lgio-2.0 \ | |
-lglib-2.0 \ | |
-lgobject-2.0 \ | |
-lgtk-3 \ | |
-limm32 \ | |
-lintl \ | |
-lm \ | |
-lole32 \ | |
-lpango-1.0 \ | |
-lpangocairo-1.0 \ | |
-lpangoft2-1.0 \ | |
-lpangowin32-1.0 \ | |
-lshell32 \ | |
-luuid \ | |
-luser32 \ | |
-lws2_32 | |
SRCS = bug.c | |
all: | |
$(COMP) $(CFLAGS) $(SRCS) $(FLAGS) $(INC) $(LIBS) -o $(TARGET) | |
.PHONY : clean | |
clean: | |
rm -rf *.o | |
rm -rf $(TARGET) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment