1 # Copyright © 2003-2018, The AROS Development Team. All rights reserved.
4 include $(SRCDIR)/config/aros.cfg
66 # Files that use AROS_SHx() instead of main()
82 USER_CFLAGS := -DADATE="\"$(shell date "+%d.%m.%Y")\"" -I$(OBJDIR)
83 # We compile the core C: programs statically, for two reasons:
84 # * The amiga-m68k boot floppy doesn't have space for stdc.library
85 # * This gives us some possibility of system recovery if LIBS:
86 # is deleted or badly Assign(ed).
87 USER_LDFLAGS := -static
89 #MM- workbench : workbench-c
90 #MM- workbench-quick : workbench-c-quick
92 #MM workbench-c : workbench-c-$(AROS_TARGET_CPU)
93 #MM workbench-c-quick : workbench-c-$(AROS_TARGET_CPU)-quick
95 #MM workbench-c : includes kernel-task-includes linklibs workbench-c-adddatatypes workbench-c-sh workbench-c-requeststring workbench-libs-uuid
96 #MM workbench-c-quick : workbench-c-adddatatypes-quick workbench-c-sh-quick workbench-c-requeststring-quick
98 %build_prog mmake=workbench-c-requeststring progname=RequestString \
99 files=RequestString targetdir=$(AROS_C) coverageinstr=no
101 %build_progs mmake=workbench-c \
102 files="$(FILES) $(BLFILES)" targetdir=$(AROS_C) \
103 uselibs="uuid debug" coverageinstr=no
105 %build_progs mmake=workbench-c-sh \
106 files=$(SH_FILES) targetdir=$(AROS_C) \
109 ifneq ($(AROS_TARGET_CPU),m68k)
110 USER_CFLAGS += -DTARGETCPU="\"$(AROS_TARGET_CPU)\""
113 %build_prog mmake=workbench-c-adddatatypes progname=AddDataTypes \
114 files="$(DTFILE)" targetdir=$(AROS_C) coverageinstr=no
116 $(OBJDIR)/evalParser.tab.c : evalParser.y
117 @$(ECHO) Generating $(notdir $@) from $<...
120 $(OBJDIR)/Eval.d : $(OBJDIR)/evalParser.tab.c