Modifications
This commit is contained in:
parent
e280898bf4
commit
0c9e48cc41
3 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
all: $(patsubst %.c,%.exe,$(shell ls *.c))
|
||||
|
||||
%.exe: %.c
|
||||
gcc $< -o $@
|
||||
gcc $< -o $@ -lm
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
|
|
Reference in a new issue