# Le compilateur et ses options CC = gcc CFLAGS = -g -Wall -pedantic # Repertoires des librairies non standards LIBDIR = # Repertoires des fichiers d'entete non standards INCLUDES = # Librairies LIBS = -lm # Objets OBJS = exponentiel.o \ afficher-exponentiel.o # Sources SRCS = exponentiel.c \ afficher-exponentiel.c # But de la compilation CIBLE = exponentiel # Cible par defaut all: $(CIBLE) # Generation des objets .c.o: $(CC) $(INCLUDES) -c $(CFLAGS) $< # Generation de la cible $(CIBLE): $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBDIR) $(LIBS) # Nettoyage clean: rm -f *.o core *~ $(CIBLE) # Nettoyage simple soft: rm -f *.o core *~ # Dependances depend: $(SRCS) makedepend $(INCLUDES) $(SRCS) # DO NOT DELETE exponentiel.o: exponentiel.h afficher-exponentiel.o: /usr/include/stdio.h /usr/include/libio.h afficher-exponentiel.o: /usr/include/features.h /usr/include/sys/cdefs.h afficher-exponentiel.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h afficher-exponentiel.o: /usr/include/gnu/types.h afficher-exponentiel.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h afficher-exponentiel.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h afficher-exponentiel.o: /usr/include/stdio_lim.h /usr/include/stdlib.h afficher-exponentiel.o: /usr/include/sys/types.h /usr/include/time.h afficher-exponentiel.o: /usr/include/endian.h /usr/include/bytesex.h afficher-exponentiel.o: /usr/include/sys/select.h /usr/include/selectbits.h afficher-exponentiel.o: /usr/include/alloca.h /usr/include/math.h afficher-exponentiel.o: /usr/include/huge_val.h /usr/include/mathcalls.h afficher-exponentiel.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h afficher-exponentiel.o: /usr/include/assert.h /usr/include/errno.h afficher-exponentiel.o: /usr/include/errnos.h /usr/include/linux/errno.h afficher-exponentiel.o: /usr/include/asm/errno.h exponentiel.h