2021-10-12 12:32:46 +02:00
|
|
|
C_FILES=$(shell find . -name '*.*')
|
2021-10-12 22:33:50 +02:00
|
|
|
TARGETS=$(notdir $(basename ${C_FILES}))
|
2021-10-12 09:01:02 +02:00
|
|
|
|
2021-10-12 12:17:28 +02:00
|
|
|
all: ${TARGETS}
|
2021-10-12 22:33:50 +02:00
|
|
|
@for target in ${TARGETS}; do \
|
|
|
|
grep -q $${target} ../../.gitignore || echo $${target} >> ../../.gitignore; \
|
|
|
|
done
|
2021-10-12 10:58:47 +02:00
|
|
|
|
2021-10-12 09:01:02 +02:00
|
|
|
clean:
|
2021-10-12 12:17:28 +02:00
|
|
|
rm -f ${TARGETS}
|