Ajout test mot_clef, reparation des fonction de test

This commit is contained in:
2016-01-22 10:20:48 +01:00
parent 60d19eea05
commit e288ca49b4
3 changed files with 44 additions and 18 deletions

View File

@@ -7,7 +7,7 @@ LDFLAGS=
SRC=$(wildcard src/*.c)
OBJ=$(SRC:.c=.o)
EXEC=compilateur-l
EXEC=test_yylex
all: $(EXEC)
@@ -17,9 +17,6 @@ $(EXEC): $(OBJ)
%.o: %.c
$(CC) -o $@ -c $< $(CCFLAGS)
test_yylex: test_yylex.c $(OBJ)
$(CC) $(CCFLAGS) -o test_yylex test_yylex.c $(OBJ)
analyseur_lexical.o: analyseur_lexical.c
$(CC) $(CCFLAGS) -c $^
@@ -33,13 +30,10 @@ mrproper: clean
@echo "Remove $(EXEC) file"
rm -rf $(EXEC)
doxygen:
@echo "Generate Doxygen documentation"
rm -rf documentation/*
doxygen config_doxygen.conf
rebuild:
@echo " --- Cleaning --- "
make mrproper
@echo " \n\n--- Building --- "
make all
@echo
@echo
@echo " --- Building --- "
make all