Makefile 720 B

1234567891011121314151617181920212223242526272829303132333435
  1. ifeq ($(OS),Windows_NT) # true for Windows_NT or later
  2. COPY := winmake\copyfile
  3. REMOVE := winmake\remove
  4. REMOVEDIR := winmake\removedir
  5. THEN := &
  6. RUN :=
  7. else
  8. COPY := cp
  9. REMOVE := rm -f
  10. REMOVEDIR := rm -rf
  11. THEN := ;
  12. RUN := ./
  13. RUN := $(strip $(RUN))
  14. endif
  15. all: compile
  16. install: not_installable
  17. uninstall: not_installable
  18. not_installable:
  19. echo "The library cannot be installed on the system but statically linked to another Lazarus package or application."
  20. clean: clean_bgracontrols
  21. clean_bgracontrols:
  22. $(REMOVEDIR) "lib"
  23. $(REMOVEDIR) "backup"
  24. compile: BGRAControls
  25. lazbuild:
  26. #lazbuild will determine what to recompile
  27. BGRAControls: lazbuild bgracontrols.lpk
  28. lazbuild bgracontrols.lpk