Skip to content
Snippets Groups Projects
Verified Commit 417aaf64 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added possibility to generate gitignore file. a bit ugly

parent 60ab93ac
No related branches found
No related tags found
No related merge requests found
rec_fibonacci
rec_reines
lissage
rec_factorielle
rec_pgcd
rec_binary
rec_reines_skel
rec_ppcm
rec_puissance_indienne
......@@ -8,11 +8,11 @@ EXECS := $(shell find . -type f -iname '*.c' | sed 's/\.c//g')
all: $(EXECS)
$(EXECS): %: %.c
# @echo $<
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
@echo $@ >> .gitignore
.PHONY: clean
.PHONY: clean all
clean:
rm -f *.o $(EXECS)
rm -f *.o $(EXECS) .gitignore
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment