mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
3237c6b4e8
contain enough music to fill the initial output buffers. - Removed the read barrier around ADehackedPickup::RealPickup. If the real pickup is picked up, it may very well destroy itself before the dehacked wrapper's stubs that use it are called. - Reverted revision 840. For a file we don't want end users to be touching, making DEHSUPP plain text sends out mixed messages: "Don't mess with this. Oh, by the way, it's plain text now to make it easier for you to edit." Is there some reason other than a desire to do away with binary lumps to make the distributed lump text? - Added a new speakermode for Stereo + HRTF: "Headphones". This is the only way to get the HRTF low pass filter effect now. - Fixed: No more than one sector could make noise at once. - Trying out sound without varying priorities again. - Fixed: Need to use setSpeakerMix to let 2D sounds (aka streamed music) use their full volume range. SVN r842 (trunk)
55 lines
915 B
Makefile
55 lines
915 B
Makefile
ifeq (Windows_NT,$(OS))
|
|
WIN=1
|
|
WINCMD=1
|
|
endif
|
|
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
|
WIN=1
|
|
WINCMD=0
|
|
endif
|
|
|
|
ifeq (1,$(WIN))
|
|
EXE = dehsupp.exe
|
|
CFLAGS = $(LOC) -Os -Wall -fomit-frame-pointer
|
|
else
|
|
EXE = dehsupp
|
|
CFLAGS = -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -Os -Wall -fomit-frame-pointer
|
|
endif
|
|
|
|
CCDV = @../../ccdv
|
|
CC = gcc
|
|
LDFLAGS = -s
|
|
|
|
RE2C = ../re2c/re2c
|
|
LEMON = ../lemon/lemon
|
|
LEMONFLAGS =
|
|
RE2CFLAGS = -s
|
|
|
|
OBJS = dehsupp.o parse.o scanner.o
|
|
|
|
all: $(EXE)
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CCDV) $(CC) $(LDFLAGS) -o $(EXE) $(OBJS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
ifeq (1,$(WINCMD))
|
|
-del /q /f $(EXE) 2>nul
|
|
-del /q /f *.o 2>nul
|
|
else
|
|
rm -f $(EXE)
|
|
rm -f *.o
|
|
endif
|
|
|
|
%.o: %.c
|
|
$(CCDV) $(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
parse.h parse.c: parse.y
|
|
$(CCDV) $(LEMON) $(LEMONFLAGS) $<
|
|
|
|
scanner.c: scanner.re
|
|
$(CCDV) $(RE2C) $(RE2CFLAGS) -o $@ $<
|
|
|
|
parse.tab.c: parse.y
|
|
$(CCDV) $(BISON) $(BISONFLAGS) -o $@ $<
|