3 # Makefile for the shell
5 include $(SRCDIR)/config/aros.cfg
25 USER_CPPFLAGS += -DADATE="\"$(shell date "+%d.%m.%Y")\"" \
27 USER_LDFLAGS := -static
29 #MM- workbench-c : workbench-c-shell
31 #MM- workbench-c-quick : workbench-c-shell-quick
33 #MM workbench-c-shell : includes linklibs workbench-libs-dos-catalogs
35 %build_prog mmake=workbench-c-shell progname=UserShell-Seg \
36 files=$(FILES) targetdir=$(AROS_FS) \
39 USER_CPPFLAGS += -DUSE_EMBEDDED_COMMANDS
40 ifeq ($(AROS_TARGET_CPU),m68k)
41 # Make sure we optimize this code for size on m68k..
42 OPTIMIZATION_CFLAGS := -Os
43 USER_CPPFLAGS += -D__DOS_NOLIBINLINE__
45 OBJDIR := $(OBJDIR).kernel
47 %build_module mmake=kernel-shell \
48 modname=shell modtype=resource \
49 files="shell_init $(FILES)"