mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-06 13:00:30 +00:00
981f663319
- Added support for wrapping midtextures vertically. - Since zdoom.wad is now zdoom.pk3, the default mapinfos can use full pathnames. So now they do. - Fixed: The DSimpleCanvas constructor used a pitch too narrow on screens wider than 640 pixels when using a non-AMD processor and the processor's L1 cache line size could not be determined. I think this should fix the issue of weirdly rendered 8 pixel wide borders on the left and right of the screen that some people experienced. - Fixed: The secnodes were never freed. SVN r93 (trunk)
41 lines
718 B
Makefile
41 lines
718 B
Makefile
ifeq (Windows_NT,$(OS))
|
|
EXE = xlatcc.exe
|
|
CCDV = @../../ccdv
|
|
CFLAGS = $(LOC) -Os -Wall -fomit-frame-pointer
|
|
else
|
|
EXE = xlatcc
|
|
CCDV =
|
|
CFLAGS = -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp $(LOC) -Os -Wall -fomit-frame-pointer
|
|
endif
|
|
|
|
CC = gcc
|
|
|
|
BISON = bison
|
|
BISONFLAGS =
|
|
|
|
OBJS = gen.o xlat-parse.tab.o
|
|
|
|
all: $(EXE)
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CCDV) $(CC) -o $(EXE) $(OBJS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
ifeq (Windows_NT,$(OS))
|
|
-del /q /f $(EXE) 2>nul
|
|
-del /q /f *.o 2>nul
|
|
else
|
|
rm -f $(EXE)
|
|
rm -f *.o
|
|
endif
|
|
|
|
xlat-parse.tab.o: xlat-parse.tab.c xlat.h
|
|
$(CCDV) $(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
xlat-parse.tab.c: xlat-parse.y
|
|
$(CCDV) $(BISON) $(BISONFLAGS) -o $@ $<
|
|
|
|
gen.o: gen.c xlat.h
|
|
$(CCDV) $(CC) $(CFLAGS) -c -o $@ $<
|