fixes scope bug in test code, typo in runtime and makefiles
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
CC := g++
|
||||
CFLAGS := -Wall
|
||||
CFLAGS += -std=c++11
|
||||
CFLAGS += -fno-rtti
|
||||
CFLAGS += -fno-exceptions
|
||||
CFLAGS += -Os
|
||||
LFLAGS :=
|
||||
|
||||
@@ -18,11 +20,11 @@ bin_main: $(MAIN_OBJ_DEPS)
|
||||
$(CC) -o main $(MAIN_OBJ_DEPS)
|
||||
|
||||
main.o: $(OUTPUT_DEPS)
|
||||
$(CC) -o main.o -c main.cpp
|
||||
$(CC) $(CFLAGS) -o main.o -c main.cpp
|
||||
|
||||
output.o: $(OUTPUT_DEPS)
|
||||
$(CC) -I$(SRC) -o output.o -c $(SRC)output.cpp
|
||||
$(CC) $(CFLAGS) -I$(SRC) -o output.o -c $(SRC)output.cpp
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf *.o main
|
||||
rm -rf *.o main
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
** by Samuel D. Crow
|
||||
*/
|
||||
#ifndef YAB_RUNTIME
|
||||
#define YAB_RUTTIME
|
||||
#define YAB_RUNTIME
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
using namespace std;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user