# project LaserBoy # James Lehman # laserboy.org RM = rm -f STRIP = strip -s -v CPP = g++ INC = -I/usr/local/src/boost_1_74_0 LIB = -L/usr/local/src/boost_1_74_0/stage/lib LIBS = -lSDL2 -lboost_filesystem -lboost_system -lpthread CPPFLAGS = -D__WITH_SDL2__ \ -std=c++17 \ -O3 \ -Wall \ -Wextra \ -frounding-math \ -fsignaling-nans \ -Wno-psabi \ -Wno-unused-parameter \ -Wno-implicit-fallthrough \ -Wno-missing-field-initializers \ -Wno-misleading-indentation \ -Wno-unused-but-set-variable \ -Wno-mismatched-new-delete \ -fexpensive-optimizations \ -static \ $(INC) \ $(LIB) \ $(LIBS) HEADERS = LaserBoy_includes.hpp \ LaserBoy_macros.hpp \ LaserBoy_common.hpp \ LaserBoy_oscillator.hpp \ LaserBoy_utility.hpp \ LaserBoy_font.hpp \ LaserBoy_bmp.hpp \ LaserBoy_3D_short.hpp \ LaserBoy_color.hpp \ LaserBoy_vertex.hpp \ LaserBoy_segment.hpp \ LaserBoy_3D_double.hpp \ LaserBoy_real_vertex.hpp \ LaserBoy_real_segment.hpp \ LaserBoy_real_segment_set.hpp \ LaserBoy_ild_header.hpp \ LaserBoy_frame.hpp \ LaserBoy_frame_set.hpp \ LaserBoy_palette.hpp \ LaserBoy_palette_set.hpp \ LaserBoy_wav.hpp \ LaserBoy_SDL_GUI.hpp \ LaserBoy_space.hpp \ LaserBoy_TUI.hpp OBJ = ../build/LaserBoy.opi \ ../build/LaserBoy_common.opi \ ../build/LaserBoy_oscillator.opi \ ../build/LaserBoy_frame.opi \ ../build/LaserBoy_effects_frame.opi \ ../build/LaserBoy_effects_selected_frames.opi \ ../build/LaserBoy_frame_set.opi \ ../build/LaserBoy_effects_frame_set.opi \ ../build/LaserBoy_ild_header.opi \ ../build/LaserBoy_segment.opi \ ../build/LaserBoy_palette.opi \ ../build/LaserBoy_palette_set.opi \ ../build/LaserBoy_real_segment.opi \ ../build/LaserBoy_real_segment_set.opi \ ../build/LaserBoy_wav.opi \ ../build/LaserBoy_space.opi \ ../build/LaserBoy_TUI.opi \ ../build/LaserBoy_SDL_GUI.opi \ ../build/LaserBoy_bmp.opi \ ../build/LaserBoy_font.opi BIN = ../LaserBoy_rpi all: $(BIN) strip strip: $(STRIP) $(BIN) clean: $(RM) $(OBJ) $(BIN) $(BIN): $(OBJ) $(CPP) $(OBJ) -o $(BIN) $(LIB) $(LIBS) ../build/LaserBoy.opi: LaserBoy.cpp $(HEADERS) $(CPP) -c LaserBoy.cpp -o ../build/LaserBoy.opi $(CPPFLAGS) ../build/LaserBoy_SDL_GUI.opi: LaserBoy_SDL_GUI.cpp $(HEADERS) $(CPP) -c LaserBoy_SDL_GUI.cpp -o ../build/LaserBoy_SDL_GUI.opi $(CPPFLAGS) ../build/LaserBoy_TUI.opi: LaserBoy_TUI.cpp $(HEADERS) $(CPP) -c LaserBoy_TUI.cpp -o ../build/LaserBoy_TUI.opi $(CPPFLAGS) ../build/LaserBoy_space.opi: LaserBoy_space.cpp $(HEADERS) $(CPP) -c LaserBoy_space.cpp -o ../build/LaserBoy_space.opi $(CPPFLAGS) ../build/LaserBoy_effects_frame_set.opi: LaserBoy_effects_frame_set.cpp $(HEADERS) $(CPP) -c LaserBoy_effects_frame_set.cpp -o ../build/LaserBoy_effects_frame_set.opi $(CPPFLAGS) ../build/LaserBoy_effects_selected_frames.opi: LaserBoy_effects_selected_frames.cpp $(HEADERS) $(CPP) -c LaserBoy_effects_selected_frames.cpp -o ../build/LaserBoy_effects_selected_frames.opi $(CPPFLAGS) ../build/LaserBoy_effects_frame.opi: LaserBoy_effects_frame.cpp $(HEADERS) $(CPP) -c LaserBoy_effects_frame.cpp -o ../build/LaserBoy_effects_frame.opi $(CPPFLAGS) ../build/LaserBoy_palette_set.opi: LaserBoy_palette_set.cpp $(HEADERS) $(CPP) -c LaserBoy_palette_set.cpp -o ../build/LaserBoy_palette_set.opi $(CPPFLAGS) ../build/LaserBoy_palette.opi: LaserBoy_palette.cpp $(HEADERS) $(CPP) -c LaserBoy_palette.cpp -o ../build/LaserBoy_palette.opi $(CPPFLAGS) ../build/LaserBoy_frame_set.opi: LaserBoy_frame_set.cpp $(HEADERS) $(CPP) -c LaserBoy_frame_set.cpp -o .