More utils tweaks.

- remove the objects too on 'clean'
- fix warning with 'transpal' on x64
  (generates translucency and shade tables)

git-svn-id: https://svn.eduke32.com/eduke32@2404 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-04 20:12:15 +00:00
parent 147a41d296
commit 5119b135d1
2 changed files with 6 additions and 4 deletions

View file

@ -167,7 +167,9 @@ OURCFLAGS+= $(BUILDCFLAGS)
# TARGETS
UTILS=kextract$(EXESUFFIX) kgroup$(EXESUFFIX) transpal$(EXESUFFIX) wad2art$(EXESUFFIX) wad2map$(EXESUFFIX) md2tool$(EXESUFFIX)
UTILOBJS=$(OBJ)/kextract.$o $(OBJ)/kgroup.$o $(OBJ)/transpal.$o $(OBJ)/wad2art.$o $(OBJ)/wad2map.$o $(OBJ)/md2tool.$o \
$(OBJ)/compat.$o $(OBJ)/pragmas.$o
UTILS=kextract kgroup transpal wad2art wad2map md2tool
# all: $(OBJ)/$(ENGINELIB) $(OBJ)/$(EDITORLIB)
utils: $(UTILS)
@ -268,7 +270,7 @@ clean:
-rm -f $(OBJ)/*
cleanutils:
-rm -f $(UTILS)
-rm -f $(UTILS) $(UTILOBJS)
veryclean: clean cleanutils
-rm -f $(ENGINELIB) $(EDITORLIB)

View file

@ -125,8 +125,8 @@ void initfastcolorlookup(int rscale, int gscale, int bscale)
j += 129-(i<<1);
}
clearbufbyte(FP_OFF(colhere),sizeof(colhere),0L);
clearbufbyte(FP_OFF(colhead),sizeof(colhead),0L);
Bmemset(colhere, 0, sizeof(colhere));
Bmemset(colhead, 0, sizeof(colhead));
ptr = (char *)&palette[768-3];
for(i=255;i>=0;i--,ptr-=3)