TP17 Organisation du code
This commit is contained in:
18
APL1.1/TP17/exo2/Makefile
Normal file
18
APL1.1/TP17/exo2/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
but : exo2
|
||||
|
||||
OFILES = file.o \
|
||||
attente.o
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -ansi -pedantic -g
|
||||
|
||||
file.o : file.h
|
||||
attente.o : file.h
|
||||
|
||||
exo2 : $(OFILES)
|
||||
$(CC) $(CFLAGS) -o attente.out $(OFILES)
|
||||
|
||||
clean :
|
||||
-rm -f $(OFILES) exo2
|
||||
|
||||
.PHONY : but clean
|
Reference in New Issue
Block a user