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

10 lines
114 B
Makefile
Raw Permalink Normal View History

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