2008-07-10 13:10:16 -07:00
|
|
|
top_srcdir=../..
|
|
|
|
top_builddir=$(top_srcdir)
|
|
|
|
|
2008-06-28 15:32:44 -07:00
|
|
|
include $(top_srcdir)/makerules/common.mk
|
2008-06-23 06:54:47 -07:00
|
|
|
|
2008-07-23 06:48:50 -07:00
|
|
|
LDFLAGS:=$(subst -mwindows,,$(LDFLAGS))
|
|
|
|
|
2007-11-04 18:29:46 -08:00
|
|
|
SRC=autorevision.cpp
|
|
|
|
|
|
|
|
EXE=autorevision
|
|
|
|
|
2008-06-24 16:41:52 -07:00
|
|
|
include $(top_srcdir)/makerules/exe.mk
|
2007-11-04 18:29:46 -08:00
|
|
|
|
2008-06-23 06:54:47 -07:00
|
|
|
.PHONY: all all-local clean clean-local
|
2007-11-04 18:29:46 -08:00
|
|
|
|
2008-06-23 06:54:47 -07:00
|
|
|
all: all-local
|
2007-11-04 18:29:46 -08:00
|
|
|
|
|
|
|
all-local: $(EXE)$(EXEEXT)
|
2008-07-06 07:28:50 -07:00
|
|
|
$(EXE)$(EXEEXT) +cstr -v $(subst /,\\,$(top_srcdir)) $(subst /,\\,$(top_builddir)/src/autorevision.h)
|
2007-11-04 18:29:46 -08:00
|
|
|
|
|
|
|
clean-local:
|
2008-07-06 07:28:50 -07:00
|
|
|
-$(RM_F) $(subst /,\\,$(top_builddir)/src/autorevision.h)
|
2007-11-04 18:29:46 -08:00
|
|
|
|
2008-06-23 06:54:47 -07:00
|
|
|
clean: clean-local
|
|
|
|
$(RM_F) $(DEPS) $(EXE)$(EXEEXT)
|