about summary refs log tree commit diff
path: root/Makefile
blob: 5fa2be02be9cd4c54f0e1e201495bc3165097377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OBJS += cptc.o
OBJS += main.o
OBJS += requestHandler.o
OBJS += downloadAvatar.o

CFLAGS += $(shell curl-config --cflags)
CFLAGS += -std=c11

LDFLAGS += $(shell curl-config --libs)
LDFLAGS += -lcpetpet
RM = rm -f

all: cptc

cptc: $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)

clean:
	$(RM) cptc *.o

cptc: $(OBJS)