Mercurial > pidgin
view src/win32/IdleTracker/Makefile.mingw @ 5419:ab1cb8b5e42b
[gaim-migrate @ 5798]
This lets your search for peeps in your buddy list by clicking on the
list and CTRL+F'ing. Yay for gtk.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 18 May 2003 01:19:03 +0000 |
parents | 464ec3e2ce43 |
children | bb7723f0b4b9 |
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).def: $(OBJECTS) dlltool --dllname $(TARGET).dll -z $(TARGET).def $(OBJECTS) $(TARGET).base: $(OBJECTS) $(CC) -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) rm -rf junk.tmp $(TARGET).exp: $(TARGET).def $(TARGET).base dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ --output-exp $(TARGET).exp --def $(TARGET).def rm -rf $(TARGET).base $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(CC) -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) dlltool -D $(TARGET).dll -d $(TARGET).def -l $(TARGET).lib rm -rf $(TARGET).exp ## ## CLEAN RULES ## clean: rm -rf *.o rm -rf $(TARGET).dll rm -rf $(TARGET).lib rm -rf $(TARGET).def