-
Notifications
You must be signed in to change notification settings - Fork 121
/
Makefile
39 lines (34 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CC = cc
CFLAGS = -include cliclick_Prefix.pch -I Actions -I .
all: macros cliclick
macros:
./generate-action-classes-macro.sh
cliclick: Actions/ClickAction.o \
Actions/ColorPickerAction.o \
Actions/DoubleclickAction.o \
Actions/DragDownAction.o \
Actions/DragUpAction.o \
Actions/DragMoveAction.o \
Actions/KeyBaseAction.o \
Actions/KeyDownAction.o \
Actions/KeyDownUpBaseAction.o \
Actions/KeyPressAction.o \
Actions/KeyUpAction.o \
Actions/MouseBaseAction.o \
Actions/MoveAction.o \
Actions/PrintAction.o \
Actions/RightClickAction.o \
Actions/TripleclickAction.o \
Actions/TypeAction.o \
Actions/WaitAction.o \
ActionExecutor.o \
KeycodeInformer.o \
OutputHandler.o \
cliclick.o
$(CC) -o cliclick $^ -framework Cocoa -framework Carbon
install: macros cliclick
cp cliclick /usr/local/bin/
clean:
$(RM) -v ActionClassesMacro.h
$(RM) -v *.o Actions/*.o
$(RM) -vr cliclick