aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index bc2e86a..1fdf54f 100644
--- a/Makefile
+++ b/Makefile
@@ -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)