Mercurial > pidgin
view gtk/win32/IdleTracker/Makefile.mingw @ 14315:8793fc8f7064
[gaim-migrate @ 17008]
Lee Roach revamped the win32 makefiles. This makes me happy, they were in dire need of some loving.
This makes life a great deal easier for anyone who wants to build out-of-tree plugins.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 23 Aug 2006 21:34:43 +0000 |
parents | ab8a105eff62 |
children | 5d03b309b482 |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for idletrack # GAIM_TOP := ../../.. include $(GAIM_TOP)/libgaim/win32/global.mak TARGET = idletrack ## ## SOURCES, OBJECTS ## C_SRC = idletrack.c OBJECTS = $(C_SRC:%.c=%.o) include $(GAIM_COMMON_RULES) ## ## TARGET DEFINITIONS ## .PHONY: all clean all: $(TARGET).dll install: $(GAIM_INSTALL_DIR) cp $(TARGET).dll $(GAIM_INSTALL_DIR) ## ## BUILD DLL ## $(TARGET).dll $(TARGET).dll.a: $(OBJECTS) $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).dll.a -o $(TARGET).dll ## ## CLEAN RULES ## clean: rm -rf $(OBJECTS) rm -rf $(TARGET).dll rm -rf $(TARGET).dll.a include $(GAIM_COMMON_TARGETS)