Start TP3
This commit is contained in:
parent
c7d342e309
commit
28887a04d7
1 changed files with 11 additions and 0 deletions
11
programmation-c-cpp/tp3/Makefile
Normal file
11
programmation-c-cpp/tp3/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
CFLAGS=-lm
|
||||
C_FILES=$(shell find . -name '*.*')
|
||||
TARGETS=$(notdir $(basename ${C_FILES}))
|
||||
|
||||
all: ${TARGETS}
|
||||
@for target in ${TARGETS}; do \
|
||||
grep -q $${target} ../../.gitignore || echo $${target} >> ../../.gitignore; \
|
||||
done
|
||||
|
||||
clean:
|
||||
rm -f ${TARGETS}
|
Loading…
Reference in a new issue