summaryrefslogtreecommitdiff
path: root/Makefile
blob: 35d35b259d88bccab080a69b970e5f99a038c199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SRC = getgbook.c
OBJ = $(SRC:.c=.o)

all: getgbook

.c.o:
	@echo CC $<
	@$(CC) -c -g $(CFLAGS) $<

getgbook: $(OBJ)
	@echo LD $@
	@$(CC) -o $@ $(OBJ) $(LDFLAGS)

clean:
	rm -f -- getgbook $(OBJ)

.PHONY: all clean