9511_workbook

solved exercises from algorithms & programming I (9511) prof. Cardozo
Index Commits Files Refs README
guia05/Makefile (251B)
   1 CC = gcc
   2 FLAGS = -Wall
   3 
   4 ex09: ex09.o main.o
   5     $(CC) -lm ex09.o main.o
   6 
   7 ex09.o: ex09.h
   8     $(CC) -c ex09.c
   9 
  10 ex10: ex09.o ex10.o main.o
  11     $(CC) -lm ex09.o ex10.o main.o
  12 
  13 ex10.o: ex10.h
  14     $(CC) -lm -c ex10.c
  15 
  16 main.o: 
  17     $(CC) -c main.c
  18 
  19 clean:
  20     rm -f *.o *.out