initial commit
This commit is contained in:
16
zlib/Makefile
Normal file
16
zlib/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
include ../Makefile.common
|
||||
|
||||
OBJ = $(patsubst %.c,%.o,$(wildcard *.c))
|
||||
LIBNAME = libz.a
|
||||
|
||||
all: $(LIBNAME)
|
||||
|
||||
$(LIBNAME): $(OBJ)
|
||||
@echo Creating archive $@
|
||||
@ar -csru $@ $(OBJ)
|
||||
@echo
|
||||
|
||||
clean:
|
||||
-@$(RM) *.o
|
||||
-@$(RM) *.d
|
||||
-@$(RM) $(LIBNAME)
|
Reference in New Issue
Block a user