diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5,16 +5,16 @@ CC = gcc CFLAGS += -std=c99 -Wall -Wextra -Wshadow -Werror ifeq ($(OS),Windows_NT) - LDLIBS = -lWinmm - PLATFORM = win32 + LDLIBS = -lWinmm + PLATFORM = win32 else - UNAME_S := $(shell uname) - ifeq ($(UNAME_S),Linux) - PLATFORM = linux + UNAME_S := $(shell uname) + ifeq ($(UNAME_S),Linux) + PLATFORM = linux PKG_CONF_LIBS = sdl2 SDL2_mixer x11 xi CFLAGS += `pkg-config --cflags $(PKG_CONF_LIBS)` LDLIBS += `pkg-config --libs $(PKG_CONF_LIBS)` - endif + endif endif default: $(NAME) |