mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-03 06:32:37 +02:00
Fixing Linux build
This commit is contained in:
4
Makefile
4
Makefile
@@ -11,13 +11,13 @@ OBJ := build/obj
|
||||
|
||||
CC := clang
|
||||
|
||||
CFLAGS += -Werror -Wall -std=gnu11 -ICore -D_GNU_SOURCE
|
||||
CFLAGS += -Werror -Wall -std=gnu11 -ICore -D_GNU_SOURCE -DVERSION="$(VERSION)"
|
||||
SDL_LDFLAGS := -lSDL
|
||||
LDFLAGS += -lc -lm
|
||||
CONF ?= debug
|
||||
|
||||
ifeq ($(shell uname -s),Darwin)
|
||||
CFLAGS += -F/Library/Frameworks -DVERSION="$(VERSION)"
|
||||
CFLAGS += -F/Library/Frameworks
|
||||
OCFLAGS += -x objective-c -fobjc-arc -Wno-deprecated-declarations -isysroot $(shell xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9
|
||||
LDFLAGS += -framework AppKit -framework Carbon
|
||||
SDL_LDFLAGS := -framework SDL
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <SDL/SDL.h>
|
||||
|
||||
#include "gb.h"
|
||||
|
Reference in New Issue
Block a user