Makefile: add -std=c++11 explicitely to compile with GCC 4.x.

This commit is contained in:
Maxim Poliakovski 2019-07-02 13:34:06 +02:00
parent 9a397a1c87
commit 3325529c2e

View File

@ -1,10 +1,10 @@
OBJS = main.o macioserial.o macscsi.o macswim3.o mpc106.o openpic.o poweropcodes.o ppcfpopcodes.o ppcgekkoopcodes.o ppcmemory.o ppcopcodes.o viacuda.o OBJS = main.o macioserial.o macscsi.o macswim3.o mpc106.o openpic.o poweropcodes.o ppcfpopcodes.o ppcgekkoopcodes.o ppcmemory.o ppcopcodes.o viacuda.o
SOURCE = main.c macioserial.cpp macscsi.cpp macswim3.cpp mpc106.cpp openpic.cpp poweropcodes.cpp ppcfpopcodes.cpp ppcgekkoopcodes.cpp ppcmemory.cpp ppcopcodes.cpp viacuda.cpp SOURCE = main.c macioserial.cpp macscsi.cpp macswim3.cpp mpc106.cpp openpic.cpp poweropcodes.cpp ppcfpopcodes.cpp ppcgekkoopcodes.cpp ppcmemory.cpp ppcopcodes.cpp viacuda.cpp
HEADER = macioserial.h macscsi.h macswim3.h mpc106.h openpic.h ppcemumain.h ppcmemory.h viacuda.h HEADER = macioserial.h macscsi.h macswim3.h mpc106.h openpic.h ppcemumain.h ppcmemory.h viacuda.h
OUT = dingusppc OUT = dingusppc
CC = g++ CC = g++
FLAGS = -g -c -Wall FLAGS = -g -c -Wall -std=c++11
LFLAGS = LFLAGS =
all: $(OBJS) all: $(OBJS)
$(CC) -g $(OBJS) -o $(OUT) $(LFLAGS) $(CC) -g $(OBJS) -o $(OUT) $(LFLAGS)