distribution/packages/games/tools/control-gen/Makefile
2022-12-22 14:02:45 -08:00

15 lines
338 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
CXX ?= gcc
CCFLAGS = -W -Wall -std=c++11 `sdl2-config --cflags`
BINARY = control-gen
LIBRARIES = -lSDL2
SOURCES = "control-gen.cpp"
all:
$(CXX) $(CFLAGS) $(SOURCES) -o $(BINARY) $(LIBRARIES)
clean:
rm -f $(BINARY)