]>
Commit | Line | Data |
---|---|---|
1a6944fd RR |
1 | include Version.mk |
2 | include Config.mk | |
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | INCDIR = . | |
15 | OUTDIR = $(HOME) | |
16 | ||
17 | CFLAGS = -O $(PIC) $(ANSI) -I$(INCDIR) -D$(DLDAPI) $(CFLAGSX)\ | |
18 | -DVERSION=\"$(VERSION)$(EXTVER)\" | |
19 | ||
20 | ODBCDM = $(OUTDIR)/$(OUTFILE)-$(VERSION).$(DLSUFFIX) | |
21 | ||
22 | OBJS = dlf.o dlproc.o herr.o henv.o hdbc.o hstmt.o \ | |
23 | connect.o prepare.o execute.o result.o \ | |
24 | fetch.o info.o catalog.o misc.o itrace.o $(OBJX) | |
25 | ||
26 | all: $(OBJS) | |
27 | @echo "Generating iODBC driver manager -->" $(ODBCDM) | |
28 | @\rm -f $(ODBCDM) | |
29 | @$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(ODBCDM) | |
30 | ||
31 | clean: | |
32 | \rm -f $(OBJS) |