blob: 3b65222e9db07796b5d2739577c64ab9ca602f20 [file] [log] [blame]
#
# verifychecksum Makefile
#
# Copyright(c) 2015 Uptime Technologies, LLC.
#
INC_SERVER=$(shell pg_config --includedir-server)
CFLAGS = -Wall -g -I$(INC_SERVER)
LIBS =
TARGET = verifychecksum.bin
TOPDIR = ../..
include $(TOPDIR)/Makefile.global
all: $(TARGET)
verifychecksum.bin: verifychecksum.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
install:
mkdir -p $(PREFIX)/bin
install -m 755 $(TARGET) $(PREFIX)/bin
mkdir -p $(PREFIX)/src
install -m 755 *.c $(PREFIX)/src
clean:
rm -rf $(TARGET) *~