Makefile (212B)
- LIBS = -latf-c
- BINS = puts abs strlen
- all: $(BINS)
- .c:
- $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -o $@ $<
- .PHONY: clean
- clean:
- rm -f $(BINS)
- .PHONY: test
- test: $(BINS)
- kyua test || (kyua report --verbose; false)
Makefile (212B)
- LIBS = -latf-c
- BINS = puts abs strlen
- all: $(BINS)
- .c:
- $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -o $@ $<
- .PHONY: clean
- clean:
- rm -f $(BINS)
- .PHONY: test
- test: $(BINS)
- kyua test || (kyua report --verbose; false)