Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.
MAKEFILE for QTMiner.
Very simple makefile to get it to build the qtminer executable
CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum
all: qtminer
qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)
qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp
main.o: main.c $(CC) $(CFLAGS) -c main.c
clean: $(RM) count *.o *~
# MAKEFILE for QTMiner.
# Very simple makefile to get it to build the qtminer executable
CC = g++
CFLAGS = -Wall -g
INCLUDES = -I/usr/local/include
LFLAGS = -L/usr/local/lib
LIBS = -lethashseal -lethereum
all: qtminer
qtminer: qtminer.o main.o
$(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)
qtminer.o: qtminer.cpp qtminer.h
$(CC) $(CFLAGS) -c qtminer.cpp
main.o: main.c
$(CC) $(CFLAGS) -c main.c
clean:
$(RM) count *.o *~