Makefile
上传用户:aidanglao
上传日期:2007-01-07
资源大小:69k
文件大小:1k
- #
- # Informix Makefile
- #
- INFORMIXDIR=/var/informix/online
- LIBDIR = ../../lib
- CFLAGS = -DNO_WIN32 -g
- #SYSLIBES = $(LIBDIR)/swmain.o -lifcli -laio -lm -lnsl -lsocket
- SYSLIBES = -B static $(LIBDIR)/swmain.o -lifcli
- -B dynamic -laio -lm -lnsl -lsocket -ldl
- -B static -lSQLweb -llist
- OBJS = ifmxdb.o
- ODBCLIB = -L$(INFORMIXDIR)/lib/cli -L$(LIBDIR)
- INCL = -I$(INFORMIXDIR)/incl/cli -I../../include
- CC = gcc
- sqlweb: $(OBJS)
- $(CC) $(CFLAGS) -o sqlweb $(OBJS) $(ODBCLIB) $(SYSLIBES)
- ifmxdb.o: ifmxdb.c
- $(CC) $(CFLAGS) $(INCL) -c ifmxdb.c
- clean:
- rm -f sqlweb *.o