You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alee-forth/Makefile

21 lines
371 B
Makefile

CXXFLAGS += -std=c++17 -g3 -ggdb -O0
2 years ago
2 years ago
CXXFILES := corewords.cpp dictionary.cpp parser.cpp state.cpp types.cpp
2 years ago
OBJFILES := $(subst .cpp,.o,$(CXXFILES))
LIBFILE := libalee.a
2 years ago
EXEFILE := alee
all: $(EXEFILE)
2 years ago
small: CXXFLAGS += -Os
small: $(EXEFILE)
$(EXEFILE): $(LIBFILE)
$(LIBFILE): $(OBJFILES)
$(AR) cr $@ $(OBJFILES)
2 years ago
clean:
rm -f $(EXEFILE) $(LIBFILE) $(OBJFILES)
2 years ago