initial commit
This commit is contained in:
17
glew/Makefile
Normal file
17
glew/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
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)
|
Reference in New Issue
Block a user