mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Update makefile
This commit is contained in:
parent
2b0c4595ff
commit
8520244fa0
@ -8,16 +8,16 @@ SDL_LIBS=-L$(SRC)sdl/lib -lSDL
|
||||
CXX = g++
|
||||
CXXFLAGS = -g -W -Wall -Ilua/include $(SDL_CFLAGS) # -O2
|
||||
LDFLAGS = -g -W -Wall # -O2
|
||||
LIBS = -Llua/lib -llua -llualib -lmingw32 -lopengl32 -lglu32 -lgdi32 $(SDL_LIBS)
|
||||
|
||||
LIBS = -Llua/lib -llua -llualib -lmingw32 -lopengl32 -lglu32 -lgdi32 \
|
||||
-Lmixer -lmixer $(SDL_LIBS)
|
||||
OBJS = main.o lab.o bitmap.o model.o resource.o material.o debug.o \
|
||||
textsplit.o lua.o registry.o localize.o scene.o engine.o actor.o \
|
||||
sound.o mixer.o keyframe.o costume.o walkplane.o textobject.o \
|
||||
sound.o timer.o keyframe.o costume.o walkplane.o textobject.o \
|
||||
matrix3.o matrix4.o screen.o blocky16.o smush.o vima.o
|
||||
DEPS = $(OBJS:.o=.d)
|
||||
EXEEXT =.exe
|
||||
|
||||
residual: $(OBJS) lua/lib/liblua.a lua/lib/liblualib.a
|
||||
residual: $(OBJS) lua/lib/liblua.a lua/lib/liblualib.a mixer/libmixer.a
|
||||
$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
.cpp.o:
|
||||
@ -25,15 +25,23 @@ residual: $(OBJS) lua/lib/liblua.a lua/lib/liblualib.a
|
||||
|
||||
lua/lib/liblua.a lua/lib/liblualib.a: lua-build
|
||||
|
||||
mixer/libmixer.a: mixer-build
|
||||
|
||||
lua-build:
|
||||
$(MAKE) -C lua
|
||||
|
||||
mixer-build:
|
||||
$(MAKE) -C mixer
|
||||
|
||||
clean: lua-clean
|
||||
-rm -f residual.exe *.o *.d *~
|
||||
|
||||
lua-clean:
|
||||
$(MAKE) -C lua clean
|
||||
|
||||
mixer-clean:
|
||||
$(MAKE) -C mixer clean
|
||||
|
||||
-include $(DEPS)
|
||||
|
||||
.PHONY: lua-build lua-clean
|
||||
|
Loading…
Reference in New Issue
Block a user