📄 makefile.sdbm
字号:
## makefile for public domain ndbm-clone: sdbm# DUFF: use duff's device (loop unroll) in parts of the code#CFLAGS = -O -DSDBM -DDUFF -DBSD42 -pic#LDFLAGS = -pOBJS = sdbm.o pair.o hash.oSRCS = sdbm.c pair.c hash.c dbu.c dba.c dbd.c util.cHDRS = tune.h sdbm.h pair.hMISC = README CHANGES COMPARE sdbm.3 dbe.c dbe.1 dbm.c dbm.h biblio \ readme.ms readme.psall: dbu dba dbd dbedbu: dbu.o sdbm util.o cc $(LDFLAGS) -o dbu dbu.o util.o libsdbm.adba: dba.o util.o cc $(LDFLAGS) -o dba dba.o util.odbd: dbd.o util.o cc $(LDFLAGS) -o dbd dbd.o util.odbe: dbe.o sdbm cc $(LDFLAGS) -o dbe dbe.o libsdbm.asdbm: $(OBJS) ar cr libsdbm.a $(OBJS) ranlib libsdbm.a### cp libsdbm.a /usr/lib/libsdbm.adba.o: sdbm.hdbu.o: sdbm.hutil.o:sdbm.h$(OBJS): sdbm.h tune.h pair.h## dbu using berkelezoid ndbm routines [if you have them] for testing##x-dbu: dbu.o util.o# cc $(CFLAGS) -o x-dbu dbu.o util.olint: lint -abchx $(SRCS)clean: rm -f *.o mon.out corepurge: clean rm -f dbu libsdbm.a dbd dba dbe x-dbu *.dir *.pagshar: shar $(MISC) makefile $(SRCS) $(HDRS) >SDBM.SHARreadme: nroff -ms readme.ms | col -b >README
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -