Mercurial > pidgin
view src/win32/IdleTracker/Makefile.mingw @ 4095:260ebd4bdc8d
[gaim-migrate @ 4310]
fix for bug [ 655519 ] Crash on changing sound command
from faceprint
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 18 Dec 2002 16:51:21 +0000 |
parents | 98ede8f38be6 |
children | 6488535322a1 |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for idletracker # # # PATHS # GAIM_TOP := ../../.. GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir ## ## VARIABLE DEFINITIONS ## TARGET = IdleTrac # Compiler Options CFLAGS = DEFINES = ## ## INCLUDE MAKEFILES ## include $(GAIM_TOP)/src/win32/global.mak ## ## INCLUDE PATHS ## INCLUDE_PATHS += -I$(GAIM_TOP)/src \ -I$(GAIM_TOP)/src/win32 \ -I$(GAIM_TOP) LIB_PATHS = -L$(GTK_TOP)/lib \ -L$(GAIM_TOP)/src ## ## SOURCES, OBJECTS ## C_SRC = IdleTracker.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