Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 81 → Rev 82

/shark/trunk/config/mk/gnu.mk
1,3 → 1,4
CPP = gcc
CC = gcc
AS = gcc
LD = ld
56,4 → 57,6
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -c $<
%.s : %.c
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -S $<
%.o : %.cpp
$(REDIR) $(CPP) $(C_OPT) $(C_OUTPUT) -c $<
 
/shark/trunk/config/mk/linux.mk
1,3 → 1,4
CPP = gcc
CC = gcc
AS = gcc
LD = ld
47,4 → 48,5
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -c $<
%.s : %.c
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -S $<
 
%.o : %.cpp
$(REDIR) $(CPP) $(C_OPT) $(C_OUTPUT) -c $<
/shark/trunk/config/lib.mk
24,10 → 24,10
$(RM) $(LIBRARYPATHNAME)
 
depend::
$(CC) $(C_OPT) -M $(wildcard $(OBJS:.o=.c) $(OBJS:.o=.s)) > deps
$(CC) $(C_OPT) -M $(wildcard $(OBJS:.o=.c) $(OBJS:.o=.cpp) $(OBJS:.o=.s)) > deps
 
deps:
$(CC) $(C_OPT) -M $(wildcard $(OBJS:.o=.c) $(OBJS:.o=.s)) > deps
$(CC) $(C_OPT) -M $(wildcard $(OBJS:.o=.c) $(OBJS:.o=.cpp) $(OBJS:.o=.s)) > deps
 
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),cleanall)