Mercurial > pidgin
view src/win32/IdleTracker/Makefile.mingw @ 8919:f37992e86e66
[gaim-migrate @ 9689]
" Very simple patch that stores the arguments given to
configure into config.h.. for example './configure
--enable-debug' will set CONFIG_ARGS to
"'--enable-debug'". This works just like php does when
you do a phpinfo();" --Gary Kramlich
the only real point of this is that it helps 3rd party plugin people in the
case that the person installing said plugin compiled, or at least
configured, gaim. but it shouldn't hurt anything either so...
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 12 May 2004 03:42:13 +0000 |
parents | bb7723f0b4b9 |
children |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for idletrack # # # PATHS # GAIM_TOP := ../../.. GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir ## ## VARIABLE DEFINITIONS ## TARGET = idletrack # Compiler Options CFLAGS = DEFINES = ## ## INCLUDE MAKEFILES ## include $(GAIM_TOP)/src/win32/global.mak ## ## INCLUDE PATHS ## INCLUDE_PATHS += LIB_PATHS = ## ## SOURCES, OBJECTS ## C_SRC = idletrack.c OBJECTS = $(C_SRC:%.c=%.o) ## ## LIBRARIES ## LIBS = ## ## RULES ## # How to make a C file %.o: %.c $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< ## ## TARGET DEFINITIONS ## .PHONY: all clean all: $(TARGET).dll install: ## ## BUILD DLL ## $(TARGET).dll: $(OBJECTS) $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).lib -o $(TARGET).dll ## ## CLEAN RULES ## clean: rm -rf *.o rm -rf $(TARGET).dll rm -rf $(TARGET).lib rm -rf $(TARGET).def