This repository has been archived on 2019-08-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
s4-c/TP3/Makefile
2016-03-09 11:10:07 +01:00

9 lines
111 B
Makefile

all: $(patsubst %.c,%.exe,$(shell ls *.c))
%.exe: %.c
gcc $< -o $@ -lm
.PHONY: all clean
clean:
rm *.exe