# DMakefile
# for MUIBuilder-generated Code
# by Christian Brandel

# specify the directory of the code here:
OD =

# linked libraries
LIBS = -lmui -lamiga30s -lc

# destination of the executable
DEST = Click Characters

# sources that are compiled seperatly and ...
SRCS = SmallMain.c Small_cat.c Small_Example.c Small_Example_cat.c

# ...are all linked together later
OBJS = $(SRCS:"*.c":"$(OD)*.o")

# compiler options (do not change)
OPTS-GLOBAL = -ms -mRR -mi -3.0

# compiler options (change according to your preferences)
OPTS-LOCAL = -I$(OD) -//


all: $(DEST)

$(DEST) : $(OBJS)
   dcc $(OPTS-GLOBAL) $(OPTS-LOCAL) $(OBJS:"$(OD)*.o":"*.o") -o%(left) $(LIBS)

$(OBJS) : $(SRCS)
   dcc %(right) -o %(left) $(OPTS-GLOBAL) $(OPTS-LOCAL) -c
