bluecore/squirrel/Makefile

18 lines
337 B
Makefile
Raw Normal View History

2008-01-16 11:45:17 +00:00
include ../Makefile.common
CXXFLAGS := -Iinclude $(CXXFLAGS)
OBJ += $(patsubst %.cpp,%.o,$(wildcard squirrel/*.cpp))
LIBNAME = libsquirrel.a
all: $(LIBNAME)
$(LIBNAME): $(OBJ)
@echo Creating archive $@
@ar -csru $@ $(OBJ)
@echo
clean:
-@$(RM) squirrel$(SLASH)*.o
-@$(RM) squirrel$(SLASH)*.d
-@$(RM) $(LIBNAME)