blob: c8b4e2f2d7b0fddcc0aff2c55a61c4ee457576c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CC=g++
CFLAGS= -std=gnu++17 -g
DEPS = include/lexer.hpp include/exceptions.hpp include/parser.hpp include/expressions.hpp
OBJ = expressions.o expression_base.o lexer.o exceptions.o parser.o main.o
%.o : %.cpp $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
main : $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean :
rm -f *.o
|