Skip to content

Commit

Permalink
#9 drop support for linux (static lib issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaydenPahukula committed Mar 20, 2024
1 parent 7817982 commit f02e746
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TARGET = minesweeper
TARGET = minesweeper.exe
SRC_FILES = src/App.cpp src/main.cpp src/Game.cpp src/Tile.cpp src/Menu.cpp src/Timer.cpp src/Confetti.cpp

OBJECTS = $(SRC_FILES:.cpp=.o)
Expand All @@ -10,16 +10,6 @@ LIB_PATH = ./lib/SFML/lib

LIBS = sfml-graphics-s sfml-window-s sfml-system-s opengl32 freetype winmm gdi32

ifeq ($(shell echo "Windows"), "Windows")
TARGET := $(TARGET).exe
SRC_FILES := $(subst /,\,$(SRC_FILES)) # replace slashes with backslashes
DEL = del
FLAGS +=
LIBS +=
else
DEL = rm -f
endif

all: $(TARGET)

$(TARGET): $(OBJECTS)
Expand Down

0 comments on commit f02e746

Please sign in to comment.