[Change] Removed many external commands from makefile.
This commit is contained in:
parent
2fc902b90b
commit
de7fecbd76
26
bin/Makefile
26
bin/Makefile
@ -4,6 +4,7 @@ DEBUG := 1
|
|||||||
|
|
||||||
OS := LINUX
|
OS := LINUX
|
||||||
#OS := WIN32
|
#OS := WIN32
|
||||||
|
#OS := MACOS
|
||||||
|
|
||||||
#CC = clang
|
#CC = clang
|
||||||
|
|
||||||
@ -16,8 +17,7 @@ VERSIONFILE = VERSION
|
|||||||
|
|
||||||
# OBJECTS.
|
# OBJECTS.
|
||||||
APPNAME := Lephisto
|
APPNAME := Lephisto
|
||||||
OBJS := $(shell find ../src/ -name '*.c' -print)
|
OBJS := $(patsubst %.c, %.o, $(wildcard ../src/*.c))
|
||||||
OBJS := $(OBJS:%.c=%.o)
|
|
||||||
|
|
||||||
# CFLAGS
|
# CFLAGS
|
||||||
CLUA := -I../lib/lua
|
CLUA := -I../lib/lua
|
||||||
@ -66,11 +66,23 @@ LDFLAGS += -pg
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# DATA.
|
# DATA.
|
||||||
DATA_AI := $(shell find ../scripts/ai/ -name '*.lua')
|
DATA_AI := $(wildcard ../scripts/ai/*.lua) \
|
||||||
DATA_GFX := $(shell find ../gfx/ -name '*.png')
|
$(wildcard ../scripts/ai/include/*.lua) \
|
||||||
DATA_XML := $(shell find ../dat/ -name '*.xml' -o -name '*.ttf')
|
$(wildcard ../scipts/ai/tpl/*.lua)
|
||||||
DATA_SND := $(shell find ../snd/ -name '*.ogg' -o -name '*.wav') ../snd/music.lua
|
DATA_GFX := $(wildcard ../gfx/*.png) \
|
||||||
DATA_MISN := $(shell find ../dat/missions/ -name '*.lua')
|
$(wildcard ../gfx/gui/*.png) \
|
||||||
|
$(wildcard ../gfx/logo/*.png) \
|
||||||
|
$(wildcard ../gfx/outfit/space/*.png) \
|
||||||
|
$(wildcard ../gfx/outfit/store/*.png) \
|
||||||
|
$(wildcard ../gfx/planet/exterior/*.png) \
|
||||||
|
$(wildcard ../gfx/planet/space/*.png) \
|
||||||
|
$(wildcard ../gfx/ship/*.png) \
|
||||||
|
$(wildcard ../gfx/spfx/*.png)
|
||||||
|
DATA_XML := $(wildcard ../dat/*.xml) $(wildcard ../dat/*.ttf)
|
||||||
|
DATA_SND := $(wildcard ../snd/music/*.ogg) \
|
||||||
|
$(wildcard ../snd/sounds/*.wav) \
|
||||||
|
../snd/music.lua
|
||||||
|
DATA_MISN := $(wildcard ../dat/missions/*.lua)
|
||||||
DATA := data
|
DATA := data
|
||||||
DATAFILES := $(DATA_AI) $(DATA_GFX) $(DATA_XML) $(DATA_SND) $(DATA_MISN)
|
DATAFILES := $(DATA_AI) $(DATA_GFX) $(DATA_XML) $(DATA_SND) $(DATA_MISN)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user