Add tools to the Workbench Tools menu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smakefile 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. LIB = LIB:scs.lib LIB:amiga.lib
  2. LINK = slink
  3. LINKOPT = SMALLCODE SMALLDATA DEFINE @__chkabort=@__dummy DEFINE @_CXBRK=@__dummy QUIET
  4. STARTUP = LIB:c.o
  5. NAME = ToolsMenu
  6. NAMELC = toolsmenu
  7. OBJ = args.o broker.o catalog.o common.o cx.o error.o gui.o io.o main.o message.o sprintf.o toolrun.o wb.o
  8. DANSKCAT = Catalogs/dansk/$(NAMELC).catalog
  9. all: $(NAME) $(NAME).info empty.ct $(DANSKCAT)
  10. @Echo "*nBuild succeeded."
  11. clean:
  12. -Delete >NIL: \#?.o $(NAME) $(NAME).info empty.ct $(DANSKCAT)
  13. -Delete >NIL: Catalogs/dansk
  14. -Delete >NIL: Catalogs
  15. $(NAME): $(OBJ)
  16. $(LINK) FROM $(STARTUP) $(OBJ) TO $@ LIB $(LIB) $(LINKOPT)
  17. $(NAME).info:
  18. @Copy Resources/$(NAME).info ""
  19. .asm.o:
  20. GenAm FROM $< TO $@ ALINK QUIET
  21. args.o: args.c args.h common.h
  22. broker.o: broker.c broker.h args.h catalog.h common.h cx.h error.h strings.h
  23. catalog.o: catalog.c catalog.h strings.h
  24. common.o: common.c common.h
  25. cx.o: cx.c cx.h args.h common.h gui.h io.h wb.h
  26. error.o: error.c error.h catalog.h common.h strings.h
  27. gui.o: gui.c gui.h args.h catalog.h common.h compiler.h cx.h message.h strings.h wb.h
  28. io.o: io.c io.h common.h cx.h
  29. main.o: main.c args.h broker.h catalog.h common.h cx.h error.h gui.h strings.h toolrun.h wb.h
  30. message.o: message.c message.h
  31. sprintf.o: sprintf.asm
  32. toolrun.o: toolrun.c toolrun.h common.h
  33. wb.o: wb.c wb.h common.h cx.h toolrun.h
  34. strings.h: $(NAMELC).cd
  35. CatComp $(NAMELC).cd CFILE strings.h
  36. empty.ct: $(NAMELC).cd
  37. CatComp $(NAMELC).cd CTFILE empty.ct
  38. $(DANSKCAT): $(NAMELC).cd dansk.ct Catalogs/dansk
  39. CatComp $(NAMELC).cd dansk.ct CATALOG $(DANSKCAT)
  40. Catalogs/dansk: Catalogs
  41. @MakeDir Catalogs/dansk
  42. Catalogs:
  43. @MakeDir Catalogs