Makefile 235 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CC = gcc CFLAGS = LDFLAGS = -lpthread .SUFFIXES : .c .o .c.o : $(CC) -c $(CFLAGS) $< ALL = chats chatc all: $(ALL) chats: chats.o $(CC) -o $@ $< $(LDFLAGS) chatc: chatc.o $(CC) -o $@ $< $(LDFLAGS) clean : rm -rf *.o $(ALL)