bluecore/glew/Makefile
2008-01-16 11:45:17 +00:00

18 lines
297 B
Makefile

include ../Makefile.common
OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c))
LIBNAME = libglew.a
CFLAGS += -Iinclude
all: $(LIBNAME)
$(LIBNAME): $(OBJ)
@echo Creating archive $@
@ar -crsu $@ $(OBJ)
@echo
clean:
-@$(RM) src$(SLASH)*.o
-@$(RM) src$(SLASH)*.d
-@$(RM) $(LIBNAME)