mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +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)
34 lines
568 B
Makefile
34 lines
568 B
Makefile
ifeq (Windows_NT,$(OS))
|
|
EXE = makewad.exe
|
|
CCDV = @../../ccdv
|
|
CFLAGS = -Os -Wall -fomit-frame-pointer
|
|
LDFLAGS = -L../../zlib/ -lz
|
|
else
|
|
EXE = makewad
|
|
CCDV =
|
|
CFLAGS = -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -Os -Wall -fomit-frame-pointer
|
|
LDFLAGS = -lz
|
|
endif
|
|
|
|
CC = gcc
|
|
|
|
OBJS = makewad.o ioapi.o zip.o
|
|
|
|
all: $(EXE)
|
|
|
|
.c.o:
|
|
$(CCDV) $(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CCDV) $(CC) $(LDFLAGS) -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
|