11 lines
151 B
Makefile
11 lines
151 B
Makefile
PCC=pcc
|
|
EXAMPLES=factorial hello-world primes return fibonacci mandelbrot float
|
|
|
|
all: $(EXAMPLES)
|
|
|
|
clean:
|
|
$(RM) $(EXAMPLES)
|
|
|
|
%: %.mc
|
|
$(PCC) $< -o $@
|