# # Makefile for the linux driver example programs. # Note: there are 3 places where user program name must be placed # INC_DIR = ../../include LIB_DIR = ../../lib BINDIR = ./ CFLAGS = -Wall -mtune=i486 -O1 -I$(INC_DIR) all: build_message $(BINDIR) mterml_sh2 build_message: @echo Building 'mterml_sh2' $(BINDIR)mterml_sh2: $(BINDIR)% : %.cpp @g++ $(CFLAGS) -L$(LIB_DIR) -o $@ $< -ldapio32 -lncurses -ldl