bluecore/libpng/Makefile

18 lines
276 B
Makefile
Raw Normal View History

2008-01-16 11:45:17 +00:00
include ../Makefile.common
OBJ = $(patsubst %.c,%.o,$(wildcard *.c))
LIBNAME = libpng.a
CFLAGS += -I../zlib
all: $(LIBNAME)
$(LIBNAME): $(OBJ)
@echo Creating archive $@
@ar -csru $@ $(OBJ)
@echo
clean:
-@$(RM) *.o
-@$(RM) *.d
-@$(RM) $(LIBNAME)