This repository has been archived on 2019-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
s6-pa-tp/TP6/Makefile

10 lines
121 B
Makefile
Raw Permalink Normal View History

2017-03-27 15:59:08 +02:00
all: $(patsubst %.c,%,$(shell ls *.c))
%: %.c
clang -Wall -Wextra $< -o $@ -g -lm
.PHONY: all clean
clean:
rm *.exe