Implemented copying to clipboard
[cake.git] / workbench / c / makefile
blob99d49565d8c6c9a8a31b51753fc7ce093064be57
1 CFLAGS = -O2
3 PURE_FILES = Assign.c Dir.c Copy.c
4 FILES = Info.c
6 PURE_PROGS = $(PURE_FILES:.c=)
7 PROGS = $(FILES:.c=)
9 all: $(PURE_PROGS) $(PROGS)
11 $(PURE_PROGS): %: %.c
12 gcc $(CFLAGS) $< -o $@ -nostartfiles -lrom
13 Protect $@ +p
15 $(PROGS): %: %.c
16 gcc $(CFLAGS) $< -o $@
18 clean:
19 Delete $(PURE_PROGS) $(PROGS)
21 install:
22 Copy $(PURE_PROGS) $(PROGS) TO C: