2 include $(TOP)/config/make.cfg
4 GENINC := $(TOOLDIR)/geninc-m68k-linux$(HOST_EXE_SUFFIX)
5 OS_INCLUDES := -I$(GENINCDIR)
6 USER_INCLUDES := -I$(TOP)/rom/exec
7 INCFILES := $(GENINCDIR)/aros/machine.h \
8 $(AROS_INCLUDES)/aros/machine.h \
10 MACHINE_H := $(GENINCDIR)/aros/machine.h
13 includes-linux-m68k : $(INCFILES) machine.i
18 $(RM) $(INCFILES) $(TESTS) machine.i $(GENINC)
20 $(AROS_INCLUDES)/aros/%.h : %.h
21 %mkdirs_q $(AROS_INCLUDES)/aros
24 $(GENINCDIR)/aros/%.h : %.h
25 %mkdirs_q $(GENINCDIR)/aros
28 $(GENINCDIR)/%.h : %.h
29 %mkdirs_q $(GENINCDIR)
32 machine.i: $(GENINC) $(MACHINE_H)
36 @echo "CFLAGS=$(CFLAGS)"
37 @echo "Creating geninc..."
38 @$(CC) $(CFLAGS) -o $@ $<