mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-06 13:01:14 +00:00
cf11cbdb30
SVN r4 (trunk)
31 lines
564 B
Text
31 lines
564 B
Text
EXE = re2c.exe
|
|
|
|
CCDV = @../../ccdv
|
|
CXX = g++
|
|
CXXFLAGS = $(LOC) -D_WIN32 -DNDEBUG -Os -Wall -Wno-unused
|
|
|
|
OBJS = actions.o code.o dfa.o main.o mbo_getopt.o parser.o scanner.o substr.o translate.o
|
|
|
|
all: $(EXE)
|
|
|
|
.cc.o:
|
|
$(CCDV) $(CXX) $(CXXFLAGS) -c -o $@ $<
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CCDV) $(CXX) -s -o $(EXE) $(OBJS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
-del /q /f $(EXE) 2>nul
|
|
-del /q /f *.o 2>nul
|
|
|
|
actions.o: actions.cc
|
|
code.o: code.cc
|
|
dfa.o: dfa.cc
|
|
main.o: main.cc
|
|
mbo_getopt.o: mbo_getopt.cc
|
|
parser.o: parser.cc
|
|
scanner.o: scanner.cc
|
|
substr.o: substr.cc
|
|
translate.o: translate.cc
|