Ajout test mot_clef, reparation des fonction de test
This commit is contained in:
16
Makefile
16
Makefile
@@ -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
|
||||
Reference in New Issue
Block a user