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.
s4-c/Makefile

10 lines
100 B
Makefile

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