lowercasing filenames, part1; makefile adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@574 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-08-28 12:21:04 +00:00
parent 6a13ef3f56
commit efcba75f8a
82 changed files with 240 additions and 443 deletions

View file

@ -77,7 +77,7 @@ REGDIR ?= ../reg
SRCH += $(shell echo ../inc/*.h)
SRC += $(shell echo ../src/*.cpp)
SRCRES ?= $(shell echo $(RSCDIR)/*.rss $(RSCDIR)/*.rls $(REGDIR)/*.rss $(REGDIR)/*.rls)
OBJ ?= $(SRC:.cpp=.o)
OBJS ?= $(SRC:.cpp=.o)
.PHONY : all mbm icon_mbm rsc reg loc bin sis run
@ -126,9 +126,9 @@ bin : bin_elf
bin_elf : $(NAME).elf.exe
$(NAME).elf.exe : $(OBJ) $(EXTRALIB)
$(NAME).elf.exe : $(OBJS) $(EXTRALIB)
@echo "Linking..."
$(LD) $(LDFLAGS) $(OBJ) $(EXTRALIB) $(LDFLAGS2)
$(LD) $(LDFLAGS) $(OBJS) $(EXTRALIB) $(LDFLAGS2)
.cpp.o :
@echo "Compiling $< ..."
@ -157,7 +157,7 @@ run : sis
$(CXX) -M -DDEPS $(SRC) $(CXXFLAGS) >> $@
clean :
rm -f $(NAME).exe $(NAME).elf.exe $(OBJ) tags .deps $(NAME).exe.map
rm -f $(NAME).exe $(NAME).elf.exe $(OBJS) tags .deps $(NAME).exe.map
rm -f *.bkp ../src/*.bkp ../inc/*.bkp $(RSCDIR)/*.bkp $(REGDIR)/*.bkp
rm -f $(RSCDIR)/*.rsc $(RSCDIR)/*.rsg
rm -f $(REGDIR)/*.rsc $(REGDIR)/*.rsg