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.
s6-pa-tp/TP7/Makefile

14 lines
142 B
Makefile
Raw Permalink Normal View History

2017-03-17 18:10:26 +01:00
tp7: tp7.o liblistechaines.a
gcc $^ -o $@
%.o: %.c
gcc -c $^ -o $@
lib%.a: %.o
ar rcs $@ $^
.PHONY: clean
clean:
rm -r lib*.a *.o tp7