Rename examples.

This commit is contained in:
Patrick Pelissier committed 2017-05-01 21:06:33 +02:00
1 parent cb10fa9871
commit 515650da65
13 files changed
+2 -3

No files matched your search

+2 -3
View File
@@ -1,10 +1,9 @@
CC=gcc -std=c99
CC=cc -std=c99
CFLAGS=-Wall -W -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wswitch-default -Wswitch-enum -Wcast-align -Wpointer-arith -Wbad-function-cast -Wstrict-overflow=5 -Wstrict-prototypes -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wunreachable-code -Wlogical-op -Wstrict-aliasing=2 -Wredundant-decls -Wold-style-definition -Wno-unused-function
CPPFLAGS=-I..
LDFLAGS=-pthread -lgmp
RM=rm -f
EXE=./a.exe
EXAMPLES=ex01b.c ex01.c ex02.c ex03.c ex04.c ex05.c ex06.c ex07.c ex08.c ex09.c
all:
@echo "Nothing to be done."
@@ -12,7 +11,7 @@ all:
check: examples
examples:
for f in $(EXAMPLES) ; do $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -g $$f -o $(EXE) ; done
for f in ex-*.c ; do $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -g $$f -o $(EXE) ; done
clean:
$(RM) $(EXE) *.s *~ *.o ./a.dat