diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /biblio/tib/src/Makefile |
Initial commit
Diffstat (limited to 'biblio/tib/src/Makefile')
-rw-r--r-- | biblio/tib/src/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/biblio/tib/src/Makefile b/biblio/tib/src/Makefile new file mode 100644 index 0000000000..a215681042 --- /dev/null +++ b/biblio/tib/src/Makefile @@ -0,0 +1,55 @@ +CC = cc +CFLAGS = -O + +.c.o: + $(CC) -c $(CFLAGS) $*.c + +DEXo = tibdex.o streams.o makekey.o +DEXc = tibdex.c streams.c makekey.c +LOOKo = tiblook.o locate.o seek.o streams.o makekey.o +LOOKc = tiblook.c locate.c seek.c streams.c makekey.c +TIBo = tib.o tibargs.o locate.o seek.o streams.o makekey.o +TIBc = tib.c tibargs.c locate.c seek.c streams.c makekey.c +LISTo = tiblist.o tibargs.o streams.o makekey.o +LISTc = tiblist.c tibargs.c streams.c makekey.c + +SRCS = \ + tib.c \ + tibargs.c \ + seek.c \ + tib.h \ + tibdex.c \ + tiblist.c \ + locate.c \ + tiblook.c \ + makekey.c \ + streams.c + +all: tibdex tiblook tiblist tib + +tibdex: $(DEXo) + $(CC) $(CFLAGS) $(DEXo) -o tibdex + +tiblook: $(LOOKo) + $(CC) $(CFLAGS) $(LOOKo) -o tiblook + +tib: $(TIBo) + $(CC) $(CFLAGS) $(TIBo) -o tib + +tiblist: $(LISTo) + $(CC) $(CFLAGS) $(LISTo) -o tiblist + +tib.o: tib.h +tibargs.o: tib.h +tiblist.o: tib.h +tibdex.o: tib.h +locate.o: tib.h +makekey.o: tib.h + +clean: + rm -f tib.o tibargs.o tiblist.o tibdex.o tiblook.o + rm -f locate.o makekey.o streams.o seek.o + rm -f tib.h + +veryclean: clean + rm -f tib tibdex tiblist tiblook |