-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
105 lines (75 loc) · 2.56 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# Makefile generated by:
# codebench 0.55
#
# Project: DEFMOUSEPOINTERS
#
# Created on: 07-10-2018 11:51:45
#
#
###################################################################
##
##//// Objects
##
###################################################################
DefMousePointers_OBJ := \
DMP.o DMP_cli.o
###################################################################
##
##//// Variables and Environment
##
###################################################################
CC := gcc:bin/gcc
INCPATH := -I.
CFLAGS := $(INCPATH) -gstabs -Wall -D__AMIGADATE__=\"`c:date LFORMAT %d.%m.%Y`\"
###################################################################
##
##//// General rules
##
###################################################################
.PHONY: all all-before all-after clean clean-custom realclean
all: all-before DefMousePointers all-after
all-before: DMP_strings.h
# You can add rules here to execute before the project is built
all-after:
# You can add rules here to execute after the project is built
clean: clean-custom
@echo "Cleaning compiler objects..."
@rm -f $(DefMousePointers_OBJ)
realclean:
@echo "Cleaning compiler objects and targets..."
@rm -f $(DefMousePointers_OBJ) DefMousePointers DefMousePointers.debug
###################################################################
##
##//// Targets
##
###################################################################
DefMousePointers: $(DefMousePointers_OBJ)
@echo "Linking DefMousePointers.debug"
# @gcc:bin/gcc -o DefMousePointers.debug $(DefMousePointers_OBJ) -N
@gcc:bin/gcc -o DefMousePointers.debug $(DefMousePointers_OBJ)
@echo "Creating debug target: DefMousePointers"
# @cp -f -p DefMousePointers.debug DefMousePointers
@copy DefMousePointers.debug DefMousePointers FORCE CLONE
###################################################################
##
##//// Standard rules
##
###################################################################
# A default rule to make all the objects listed below
# because we are hiding compiler commands from the output
.c.o:
@echo "Compiling $<"
@$(CC) -c $< -o $*.o $(CFLAGS)
DMP_aeon.o: DMP_aeon.c DMP_global.h DMP_rev.h \
DMP_strings.h DMP.h
DMP_cli.o: DMP_cli.c DMP_global.h DMP_rev.h \
###################################################################
##
##//// Custom rules
##
###################################################################
DMP_strings.h: DefMousePointers.cd
APPDIR:Catcomp DefMousePointers.cd CFILE DMP_strings.h
$(MAKE) clean
###################################################################