2018-02-23 22:01:52 +00:00
|
|
|
CXXSTD := c++14
|
2018-02-22 19:38:27 +00:00
|
|
|
CXXFLAGS := -std=$(CXXSTD) -Wall -Werror -g -O0
|
|
|
|
OBJS := linux/io.o \
|
2018-02-23 17:07:12 +00:00
|
|
|
parser.o \
|
2018-02-22 19:38:27 +00:00
|
|
|
kforth.o
|
|
|
|
TARGET := kforth
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
$(CXX) $(CFLAGS) -o $@ $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) $(TARGET)
|