3 # Makefile for shell commands
5 include $(SRCDIR)/config/aros.cfg
45 USER_CFLAGS := -I$(GENDIR)/workbench/c/shellcommands/shellsegs.h \
46 -DADATE="\"$(shell date "+%d.%m.%Y")\""
47 USER_LDFLAGS := -static
49 #MM- workbench-c : workbench-c-shellcommands
50 #MM- workbench-c-quick : workbench-c-shellcommands-quick
51 #MM- workbench-c-shellcommands : includes linklibs workbench-libs-dos-catalogs
53 %build_progs mmake=workbench-c-shellcommands \
54 files=$(FILES) targetdir=$(AROS_C) \
58 # Embedded side of the world
61 USER_CFLAGS := -D__NOLIBBASE__ \
62 -DADATE="\"$(shell date "+%d.%m.%Y")\""
63 USER_CFLAGS += -DUSE_EMBEDDED_COMMANDS
65 OBJDIR := $(OBJDIR).kernel
67 # These are the built-ins for AmigaOS 3.x and above
98 %build_module mmake=kernel-shellcommands \
99 modname=shellcommands modtype=resource \
100 files="shellcommands_init $(FILES)"