summaryrefslogtreecommitdiffstats
path: root/bin/Makefile
blob: a068195c9f2428d0f64fe5d60a0abea2d61f87dd (plain) (blame)
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
#! /usr/bin/make -f

# dependencies

OBJS		=							\
		$(TMP_DIR)/coins.o					\
		$(TMP_DIR)/main.o					\
		$(TMP_DIR)/parse.o

ALL	= $(BIN_NAME) size


# target: dependencies
#	action

PHONY := all
all: $(ALL)


$(BIN_NAME): $(OBJS)
	@echo	"	CC	$@"
	$(Q)$(CC) $(OBJS) -o $@ $(LIBS)

size: $(BIN_NAME)
	@echo	"	SZ	$(BIN_NAME)"
	$(Q)$(SZ) $(BIN_NAME)


clean:
	@echo	"	RM	$(ALL)"
	$(Q)rm -f	$(ALL)

################################################################################
# Declare the contents of the .PHONY variable as phony.
.PHONY: $(PHONY)

################################################################################
######## End of file ###########################################################
################################################################################