scorpius/Makefile

17 lines
352 B
Makefile

CFLAGS=$(shell pkg-config --cflags --libs gtk+-3.0)
CC=gcc
VERSION=0.0
BUILD_DIR=build
BUILD_NAME=scorpius
OS=$(shell uname -r)
all: debug
debug:
mkdir -p build/debug
$(CC) -o $(BUILD_DIR)/debug/$(BUILD_NAME)-$(OS) $(CFLAGS) src/*
testgemparse:
mkdir -p $(BUILD_DIR)/test
$(CC) -o $(BUILD_DIR)/test/gemparse-$(OS) -D TESTGEMPARSE src/gemparse.c