Commit de0fa517fcbecbc527ff16a16d2bedff0c573b74

Authored by Emilie10
1 parent a254b5e3

projet

Showing 1 changed file with 20 additions and 0 deletions   Show diff stats
projetfinal/Makefile.o 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +CC=gcc
  2 +EXEC=executable
  3 +
  4 +all: $(EXEC)
  5 +
  6 +executable: projet.o main.o
  7 + $(CC) -o executable projet.o main.o -g
  8 +
  9 +projet.o: projet.c
  10 + $(CC) -c projet.c
  11 +
  12 +main.o: main.c projet.h
  13 + $(CC) -c main.c
  14 +
  15 +clean:
  16 + rm -rf *.o
  17 +
  18 +mrproper: clean
  19 + rm -rf $(EXEC)
  20 +
... ...