/contrib/sdk/sources/pixman/Makefile |
---|
53,11 → 53,17 |
OBJECTS = $(patsubst %.c, %.o, $(SOURCES)) |
ifeq ($(findstring ebox,$(MAKECMDGOALS)),ebox) |
CFLAGS+=-march=pentium-mmx |
endif |
# targets |
all:$(LIBRARY).a $(LIBRARY).dll |
ebox:$(LIBRARY).a $(LIBRARY).dll |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |