Makefile 273 B

1234567891011
  1. LIBRARY=libdecFloat$(CROSS).a
  2. $(LIBRARY): $(wildcard *.c) $(wildcard *.h) Makefile
  3. $(RM) -f *.o
  4. $(CC) $(CROSS_FLAGS) -c -O3 -fPIC $(subst decCommon.c,,$(subst decBasic.c,,$(wildcard *.c)))
  5. $(AR) crs $(LIBRARY) *.o
  6. $(RM) -f *.o
  7. .PHONY: clean
  8. clean:
  9. $(RM) -f *.o *.a