Here is the Makefile for lhmb. Clip and save. Fiddle with as needed.


CC=cc
CFLAGS1= -O3
CFLAGS2= -DUSE64 -DSHOWTIME

all:	lhmb lhdb

lhmb:	lhmb.c lhmb.h
	$(CC) $(CFLAGS1) $(CFLAGS2) -o lhmb lhmb.c
	strip lhmb

lhdb:	lhdb.c lhmb.h
	$(CC) $(CFLAGS1) $(CFLAGS2) -o lhdb lhdb.c
	strip lhdb