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/TP5/Makefile

10 lines
114 B
Makefile
Raw Permalink Normal View History

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