2 include $(TOP)/config/make.cfg
4 #INCLUDES := -I$(BINDIR)/include -I$(TOP)/amiga/include
5 EXEDIR := $(BINDIR)/Demos
6 OBJDIR := $(GENDIR)/test/HiddGraphics
8 STARTUP = $(LIBDIR)/startup.o
9 LIBS = -L$(LIBDIR) -larossupport -lamiga -lhiddgraphicsstubs $(TOOL).a -larosc -larosm
14 GCReadWritePixelDirect \
25 EXES := $(foreach f,$(FILES),$(EXEDIR)/$(f))
26 OBJS := $(foreach f,$(FILES),$(OBJDIR)/$(f).o)
27 DEPS := $(foreach f,$(FILES) $(TOOL),$(OBJDIR)/$(f).d)
29 #MM test-hidd-graphics : includes
30 test-hidd-graphics : $(EXES)
33 #MM test-hidd-graphics-quick :
34 test-hidd-graphics-quick : $(EXES)
37 %rule_makedirs dirs="$(EXEDIR) $(OBJDIR)"
43 $(EXEDIR)/% : $(OBJDIR)/%.o $(TOOL).a $(LIBDIR)/startup.o $(DEPLIBS) | $(EXEDIR)
46 $(OBJDIR)/%.o : %.c | $(OBJDIR)
47 %compile_q opt=$(APPCFLAGS)
49 $(OBJDIR)/%.d : %.c | $(OBJDIR)
53 $(TOOL).a : $(OBJDIR)/$(TOOL).o
54 %mklib_q from=$(OBJDIR)/$(TOOL).o
56 $(OBJDIR)/$(TOOL).o : $(TOOL).c | $(OBJDIR)