14 lines
215 B
Makefile
14 lines
215 B
Makefile
|
CXXSTD := c++11
|
||
|
CXXFLAGS := -std=$(CXXSTD) -Wall -Werror -g -O0
|
||
|
OBJS := linux/io.o \
|
||
|
kforth.o
|
||
|
TARGET := kforth
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJS)
|
||
|
$(CXX) $(CFLAGS) -o $@ $(OBJS)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJS) $(TARGET)
|