Makefile
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
- SRCDIR= ../../src
- include $(SRCDIR)/Makefile.global
- CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include
- ifdef REFINT_VERBOSE
- CFLAGS+= -DREFINT_VERBOSE
- endif
- TARGETS= refint$(DLSUFFIX) refint.sql
- timetravel$(DLSUFFIX) timetravel.sql
- autoinc$(DLSUFFIX) autoinc.sql
- moddatetime$(DLSUFFIX) moddatetime.sql
- insert_username$(DLSUFFIX) insert_username.sql
- CLEANFILES+= $(TARGETS)
- all:: $(TARGETS)
- %.sql: %.source
- rm -f $@;
- C=`pwd`;
- sed -e "s:_OBJWD_:$$C:g"
- -e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
- clean:
- rm -f $(TARGETS) *.o