Skip to content

Commit

Permalink
Makefile.hosted: add Lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Hecht committed Jan 12, 2019
1 parent f6a9c5f commit 861d03d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile.hosted
@@ -1,17 +1,19 @@
INCLUDE = -Ilibraries/TTVoutfonts -Ilibraries/TTBAS_LIB -Ilibraries/TKeyboard/src \
-Ilibraries/ESP8266SAM/src -Ilibraries/azip
-Ilibraries/ESP8266SAM/src -Ilibraries/azip -Ilibraries/lua
CFLAGS=-DARDUINO -DESP8266 -DESP8266_NOWIFI -DHOSTED -DF_CPU=160000000 \
-O2 -g -Ihosted -Ittbasic $(INCLUDE) -Wall -Wno-unused
#CFLAGS += -m32
#CFLAGS += -fprofile-arcs -ftest-coverage
CXXFLAGS = $(CFLAGS) -fpermissive -std=c++11

SOURCES = $(shell ls ttbasic/*.cpp) $(shell ls libraries/TTBAS_LIB/*.cpp) \
SOURCES = $(shell ls libraries/lua/*.cpp) $(shell ls ttbasic/*.cpp) $(shell ls libraries/TTBAS_LIB/*.cpp) \
$(shell ls libraries/ESP8266SAM/src/*.cpp) $(shell ls libraries/TTVoutfonts/*.cpp) \
$(shell ls libraries/azip/*.cpp) hosted/ttbasic.cpp \
$(shell ls libraries/azip/*.cpp) \
hosted/ttbasic.cpp \
hosted/Arduino.cpp hosted/WString.cpp hosted/core_esp8266_noniso.cpp hosted/noniso.cpp \
hosted/Time.cpp hosted/hosted_spi.cpp hosted/TKeyboard.cpp \
hosted/files.cpp hosted/hosted_i2s.cpp

SOURCES_C = $(shell ls ttbasic/*.c)
OBJS = $(SOURCES:.cpp=.o)
OBJS_C = $(SOURCES_C:.c=.o)
Expand Down

0 comments on commit 861d03d

Please sign in to comment.