Changeset 3396a881


Ignore:
Timestamp:
Jun 1, 2008 8:50:29 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
592e6092
Parents:
6345e66
Message:
  • Add some compiler flexibility to two obscure SAM makefiles
Location:
apps/sam/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/c/Makefile

    r6345e66 r3396a881  
    2828obj/libsam-static.la: $(OBJS)
    2929        $(STATUS) library '(static)'
    30         libtool --mode=link gcc -static $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
     30        libtool --mode=link $(CC) -static $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
    3131
    3232obj/libsam.la: $(OBJS)
    3333        $(STATUS) library '(shared)'
    34         libtool --mode=link gcc -rpath  $(DESTDIR) $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
     34        libtool --mode=link $(CC) -rpath  $(DESTDIR) $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
    3535
    3636obj/%.lo: src/%.c
    3737        $(STATUS) compile $*
    38         libtool --mode=compile gcc $(CFLAGS) -Iinc/ -c -o $@ $< >>$(LIBTOOL_LOG)
     38        libtool --mode=compile $(CC) $(CFLAGS) -Iinc/ -c -o $@ $< >>$(LIBTOOL_LOG)
    3939
    4040$(OBJS):|obj
     
    4545.deps/%.d: src/%.c
    4646        $(STATUS) deps $*
    47         gcc -Iinc/ -MM -MT obj/$*.o $< -o $@
     47        $(CC) -Iinc/ -MM -MT obj/$*.o $< -o $@
    4848
    4949-include $(DEPS)
  • apps/sam/c/examples/i2p-ping/Makefile

    r6345e66 r3396a881  
    2626i2p-ping: $(OBJS)
    2727        $(STATUS) link
    28         libtool --mode=link gcc $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
     28        libtool --mode=link $(CC) $(LDFLAGS) -o $@ $^ >>$(LIBTOOL_LOG)
    2929
    3030%.lo: %.c
    3131        $(STATUS) compile $*
    32         libtool --mode=compile gcc $(CFLAGS) -Iinc/ -c -o $@ $< >>$(LIBTOOL_LOG)
     32        libtool --mode=compile $(CC) $(CFLAGS) -Iinc/ -c -o $@ $< >>$(LIBTOOL_LOG)
    3333.deps/%.d: src/%.c
    3434        $(STATUS) deps $*
    35         gcc -Iinc/ -MM -MT obj/$*.o $^ -o $@
     35        $(CC) -Iinc/ -MM -MT obj/$*.o $^ -o $@
    3636
    3737clean:
     
    4545        mkdir -p $@
    4646
    47 -include $(DEPS)
     47# -include $(DEPS)
    4848$(DEPS):|.deps
    4949.deps:
Note: See TracChangeset for help on using the changeset viewer.