Revision 684b28e0 subdir.mak

View differences:

subdir.mak
22 22

  
23 23
define RULES
24 24
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
25
	$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)
25
	$(LD) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)
26 26

  
27 27
$(SUBDIR)%-test.o: $(SUBDIR)%.c
28 28
	$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
......
54 54

  
55 55
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
56 56
	$(SLIB_CREATE_DEF_CMD)
57
	$(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
57
	$(LD) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
58 58
	$(SLIB_EXTRA_CMD)
59 59

  
60 60
ifdef SUBDIR

Also available in: Unified diff