5

Makefile prerequisites

view full story
linux-howto

http://www.unix.com – In the makefile code below am I correct to say that the prerequisites are: 4thg 4thx 4thd 4thc lib4th OBJ4TH = errs_4th.o save_4th.o load_4th.o free_4th.o comp_4th.o \ name_4th.o dump_4th.o exec_4th.o open_4th.o hgen_4th.o cgen_4th.o all: lib4th.a 4th # 4thc 4thd 4thx 4thg lib4th.a: $(OBJ4TH) ar r $@ $(OBJ4TH) 4th: lib4th.a 4th.o $(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th 4thc: lib4th.a 4thc.o $(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th 4thd: lib4th.a 4thd.o $(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th 4thx: lib4th.a 4thx.o $(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th (HowTos)