distribution/packages/emulators/tools/control-gen/Makefile

16 lines
338 B
Makefile
Raw Normal View History

2022-12-22 22:02:45 +00:00
# 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)