Makefile

changeset 29
a2715cff4288
parent 28
01745c3150ad
child 30
f7c7b419577e
equal deleted inserted replaced
28:01745c3150ad 29:a2715cff4288
36 36
37 testers: $(TESTERS) 37 testers: $(TESTERS)
38 38
39 libtu.a: $(OBJS) 39 libtu.a: $(OBJS)
40 $(AR) $(ARFLAGS) $@ $+ 40 $(AR) $(ARFLAGS) $@ $+
41 41 $(RANLIB) $@
42
42 tester: tester.c libtu.a 43 tester: tester.c libtu.a
43 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@ 44 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@
44 45
45 tester2: tester2.c libtu.a 46 tester2: tester2.c libtu.a
46 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@ 47 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@

mercurial