mirror of
https://github.com/makarcz/vm6502.git
synced 2024-09-28 04:54:32 +00:00
Update makefile
Bug fixes.
This commit is contained in:
parent
37fa527d75
commit
6e6c535519
9
makefile
9
makefile
@ -13,7 +13,12 @@ CXXINCS =
|
||||
ifeq ($(SDLBASE),)
|
||||
$(error ***** SDLDIR not set)
|
||||
endif
|
||||
$(eval $(export HOSTTYPE = $(arch)))
|
||||
ifneq "$(HOSTTYPE)" ""
|
||||
$(info ***** HOSTTYPE already set)
|
||||
else
|
||||
$(info ***** HOSTTYPE not set. Setting...)
|
||||
HOSTTYPE = $(shell arch)
|
||||
endif
|
||||
$(info ***** SDLDIR = $(SDLDIR))
|
||||
$(info ***** HOSTTYPE = $(HOSTTYPE))
|
||||
ifeq ($(HOSTTYPE),x86_64)
|
||||
@ -23,7 +28,7 @@ ifeq ($(HOSTTYPE),x86_64)
|
||||
CXXFLAGS = $(CXXINCS) -std=c++11 -pthread -Wall -pedantic -g3 -fpermissive
|
||||
else
|
||||
$(info ***** 32-bit)
|
||||
LIBS = -static-libgcc -m32 -g3 -ltermcap -lncurses
|
||||
LIBS = -static-libgcc -m32 -g3 -ltermcap -lncurses -lpthread
|
||||
CLIBS = -static-libgcc -m32 -g3
|
||||
CXXFLAGS = $(CXXINCS) -m32 -std=c++11 -pthread -Wall -pedantic -g3 -fpermissive
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user