moved built-in Lua to ag.lua, converting to C with xxd

git-svn-id: svn://anubis/anaglym/trunk@232 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop committed 2010-01-29 20:45:32 +00:00
1 parent 8eead374af
commit fd33b69d78
4 files changed
+68 -51

No files matched your search

+5 -1
View File
@@ -7,7 +7,8 @@ WINDOWS := 1
endif
TARGET := anaglym
COBJS := $(patsubst %.c,%.o,$(wildcard *.c))
SOURCES := $(wildcard *.c) ag_lua.c
COBJS := $(patsubst %.c,%.o,$(SOURCES))
CXXOBJS := $(subst sdl_keymap.o,,$(patsubst %.cc,%.o,$(wildcard *.cc))) sdl_keymap.o
OBJS := $(COBJS) $(CXXOBJS)
CDEPS := $(COBJS:.o=.dep)
@@ -57,6 +58,9 @@ all: $(TARGET)
$(TARGET): $(OBJS) wfobj/WFObj.o OdeWorld/OdeWorld.o TextureCache/TextureCache.o
$(CXX) -o $@ $^ $(LDFLAGS)
ag_lua.c: ag.lua
xxd -i $< > $@
.PHONY: wfobj/WFObj.o
wfobj/WFObj.o:
$(MAKE) -C wfobj