Makefile

changeset 1
6e704fc09528
parent 0
86b7f6f9c5c0
child 3
b1fbfab67908
equal deleted inserted replaced
0:86b7f6f9c5c0 1:6e704fc09528
47 testers: $(TESTERS) 47 testers: $(TESTERS)
48 48
49 libtu.a: $(OBJS) 49 libtu.a: $(OBJS)
50 $(AR) $(AR_FLAGS) $@ $+ 50 $(AR) $(AR_FLAGS) $@ $+
51 51
52 %: %.c 52 %: %.c libtu.a
53 $(CC) $(CC_FLAGS) $+ -L. -ltu -lm -o $@ 53 $(CC) $(CC_FLAGS) $+ -L. -ltu -lm -o $@
54 54
55 %.o: %.c 55 %.o: %.c
56 $(CC) $(CC_FLAGS) -c $< -o $@ 56 $(CC) $(CC_FLAGS) -c $< -o $@
57 57

mercurial