home *** CD-ROM | disk | FTP | other *** search
-
- SRCS = *.c
- OBJS = ram:*.o
-
- # note, in the line below you must specify $(SRCS) on the right
- # hand side of you want %(SRCS) to expand properly. Apart from
- # that the specification of $(SRCS) is redundant
-
- all: $(OBJS) $(SRCS)
- Echo "ln %(OBJS) -o c:blah"
- Echo "sources are: %(SRCS)"
-
- $(OBJS) : $(SRCS)
- Echo "cc %(right) -o %(left)"
-
- arc: $(SRCS) c:blah
- Echo "Delete ram:x.arc"
- Echo "arc a ram:x %(SRCS) c:blah"
-
-