# Le compilateur et ses options CC = gcc CPPFLAGS = CFLAGS = -g -Wall -std=c99 # L'editeur de lien et ses options LD = gcc LDFLAGS = # Librairies LIBS = -lm # Sources SRCS = pile.c postfixe.c # Objets OBJS = pile.o postfixe.o # But de la compilation CIBLE = postfixe # Generation des objets .c.o: $(CC) $(CPPFLAGS) -c $(CFLAGS) $< # Cible par defaut all: $(CIBLE) # Generation de la cible $(CIBLE): $(OBJS) $(LD) $(LDFLAGS) $(OBJS) -o $(CIBLE) $(LIBDIR) $(LIBS) # Dependances depend: $(SRCS) makedepend $(CPPFLAGS) $(SRCS) # Nettoyage clean: rm -f *.o core $(CIBLE) # DO NOT DELETE THIS LINE -- make depend depends on it. pile.o: /usr/include/assert.h pile.h /usr/include/stdbool.h postfixe.o: /usr/include/ctype.h /usr/include/runetype.h postfixe.o: /usr/include/sys/cdefs.h /usr/include/machine/ansi.h postfixe.o: /usr/include/ppc/ansi.h /usr/include/assert.h postfixe.o: /usr/include/stdio.h /usr/include/sys/types.h postfixe.o: /usr/include/sys/appleapiopts.h /usr/include/machine/types.h postfixe.o: /usr/include/ppc/types.h /usr/include/machine/endian.h postfixe.o: /usr/include/ppc/endian.h /usr/include/stdlib.h postfixe.o: /usr/include/alloca.h /usr/include/string.h pile.h postfixe.o: /usr/include/stdbool.h