Mercurial > pidgin-twitter
view Makefile.in @ 57:8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
- made all: as the default target in Makefile. OpenBSD requires this. pointed out by iratqq.
- replaced target distclean: with mostlyclean:.
- added new target maintainer-clean:. this target will erase all mercurial files with intention of making source tree for release.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 17 May 2008 21:03:17 +0900 |
parents | 9ac8cea32513 |
children | f83b14fbca23 |
line wrap: on
line source
OBJECTIVE = pidgin-twitter.so SRC = pidgin-twitter.c PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ GLIB_CFLAGS = @GLIB_CFLAGS@ CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) GLIB_LIBS = @GLIB_LIBS@ LDFLAGS = $(GLIB_LIBS) PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin all: $(OBJECTIVE) $(OBJECTIVE): $(SRC) gcc -o $@ $< $(CFLAGS) $(LDFLAGS) -g install: $(OBJECTIVE) install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) clean: rm -f $(OBJECTIVE) mostlyclean: clean rm -f Makefile config.log config.status aclocal.m4 *~ rm -rf autom4te.cache maintainer-clean: mostlyclean rm -f .hgtags rm -rf .hg