std = C11

This commit is contained in:
tTh 2024-02-11 17:18:33 +01:00
parent 298c6e1d1e
commit 9defba34c6

View File

@ -11,7 +11,7 @@
VERSION=0.0040 VERSION=0.0040
TEKFLAG = -DDEBUG_LEVEL=1 -g TEKFLAG = -DDEBUG_LEVEL=1 -g
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\" CFLAGS = -std=c11 -Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"
BIBS = -lncurses -lao -lsndfile -logg BIBS = -lncurses -lao -lsndfile -logg
#--------------------------------------------------------- #---------------------------------------------------------
@ -33,9 +33,10 @@ playau.o: playau.c ecoute.h Makefile
playogg.o: playogg.c ecoute.h Makefile playogg.o: playogg.c ecoute.h Makefile
playspeex.o: playspeex.c ecoute.h Makefile playspeex.o: playspeex.c ecoute.h Makefile
playflac.o: playflac.c ecoute.h Makefile playflac.o: playflac.c ecoute.h Makefile
rmfile.o: rmfile.c ecoute.h Makefile
OBJ=main.o ecran.o playnote.o playwav.o playogg.o fonctions.o interactive.o \ OBJ=main.o ecran.o playnote.o playwav.o playogg.o fonctions.o interactive.o \
dump.o playau.o playspeex.o playflac.o magic.o ifao.o dump.o playau.o playspeex.o playflac.o magic.o ifao.o rmfile.o
ecoute: $(OBJ) ecoute: $(OBJ)
gcc $(CFLAGS) $(OBJ) $(BIBS) -o ecoute gcc $(CFLAGS) $(OBJ) $(BIBS) -o ecoute