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/DS1-2015/Makefile

10 lines
111 B
Makefile

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