makefile
上传用户:jmzj888
上传日期:2007-01-02
资源大小:220k
文件大小:1k
- # Copyright (C) 1995 Monty Program KB & TCX DataKonsult AB
- #
- #include "Makefile.h" # Include system-dependent variabels
- CFLAGS = $(CC_FLAGS) -DENGLISH
- DEST = .
- HDRS = errmsg.h mysql.h portability.h site.h version.h
- OBJECTS = libmysql.obj net.obj malloc.obj
- NAME = sql
- INCFILE = mysql.h
- all: LH(${INCFILE}) L(${NAME})
- init: superclean quick
- quick: LH(${INCFILE}) comp_all all
- comp_all:; $(CC) $(CFLAGS) -c *.c
- L(${NAME}): ${OBJECTS}
- @$(ECHO) "Updating libary L(${NAME})"
- $(RM) L(${NAME})
- AR(L(${NAME})) @lib.cmd
- LH(${INCFILE}): ${INCFILE}
- LN($(@F),$@)
- clean:; RM(HELPTEMPS)
- superclean:; RM(DIVTEMPS TEST.EXE)
- ${OBJECTS}: ${LIBS} ${HDRS} ${EXTHDRS}