musique/Makefile
Robert Bendun 6a71614cab Project restructuring
include/musique.hh was getting large and musique_internal.hh emerged to
help with that. Header file separation become a huge mess.

The chosen approach is one hierarchy containing both header and
implementation files
2022-09-23 16:42:33 +02:00

50 lines
924 B
Makefile

include config.mk
Obj= \
builtin_functions.o \
builtin_operators.o \
context.o \
env.o \
errors.o \
format.o \
interpreter.o \
lexer.o \
lines.o \
location.o \
number.o \
parser.o \
pretty.o \
unicode.o \
unicode_tables.o \
value.o
all: bin/musique
include scripts/debug.mk
include scripts/release.mk
include scripts/test.mk
bin/bestline.o: lib/bestline/bestline.c lib/bestline/bestline.h
@echo "CC $@"
@$(CC) $< -c -O3 -o $@
doc: Doxyfile musique/*.cc include/*.hh
doxygen
doc-open: doc
xdg-open ./doc/build/html/index.html
clean:
rm -rf bin coverage
release: bin/musique
scripts/release
install: bin/musique
scripts/install
.PHONY: clean doc doc-open all test unit-tests release install
$(shell mkdir -p bin/debug/tests)