mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
25 lines
328 B
Makefile
25 lines
328 B
Makefile
|
|
CC=gcc
|
|
|
|
CFLAGS=-c -g -I /usr/include/mysql -march=native
|
|
LDFLAGS=-g
|
|
|
|
#CFLAGS=-c -O2 -I /usr/include/mysql
|
|
#LDFLAGS=-O2
|
|
|
|
LDLIBS=-lstdc++
|
|
|
|
SOURCES=blocknotify.cpp
|
|
|
|
OBJECTS=$(SOURCES:.cpp=.o)
|
|
OUTPUT=blocknotify
|
|
|
|
all: $(SOURCES) $(OUTPUT)
|
|
|
|
install: all
|
|
strip -s $(OUTPUT)
|
|
mv $(OUTPUT) ../bin/
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f $(OUTPUT)
|