view gtk/win32/IdleTracker/Makefile.mingw @ 14547:761f6ab6f253

[gaim-migrate @ 17270] Mah gol dang key-board dun not speak Franswah, only good ol merican committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 13 Sep 2006 22:51:02 +0000
parents 8793fc8f7064
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)