mirror of
https://github.com/deadw00d/AROS.git
synced 2026-01-12 08:35:21 +00:00
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@7516 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
39 lines
743 B
Plaintext
39 lines
743 B
Plaintext
# $Id$
|
|
include $(TOP)/config/make.cfg
|
|
|
|
OBJDIR := $(OSGENDIR)/battclock
|
|
OS_INCLUDES := -I$(GENINCDIR)
|
|
CFLAGS2 := $(CFLAGS) -I.. -I$(TOP)/rom/battclock
|
|
AFLAGS2 := $(AFLAGS) -I.. -I$(GENINCDIR)
|
|
TESTS :=
|
|
FILES := readbattclock
|
|
|
|
#MM
|
|
battclock-native-i386 : $(foreach f,$(FILES), $(OBJDIR)/$(f).o) \
|
|
readbattclock.s $(OBJDIR)/battclock_init.o
|
|
@$(NOP)
|
|
|
|
#MM
|
|
setup-battclock-native-i386 :
|
|
%mkdirs_q $(OBJDIR)
|
|
%add_objects $(foreach f,$(FILES), rom/battclock/$(f))
|
|
%exclude_files $(foreach f,$(FILES), rom/battclock/$(f))
|
|
|
|
#MM
|
|
clean ::
|
|
-$(RM) $(TESTS) *.s
|
|
|
|
$(OBJDIR)/%.o : %.c
|
|
%compile_q opt=$(CFLAGS2)
|
|
|
|
$(OBJDIR)/%.o : %.S
|
|
%assemble_q opt=$(AFLAGS2)
|
|
|
|
$(OBJDIR)/%.d : %.c
|
|
%mkdepend_q
|
|
|
|
readbattclock.s : readbattclock.c
|
|
%ctoasm_q
|
|
|
|
%common
|