Makefile (228B)
1 CC = gcc 2 CFLAGS = -Wall -Wno-unused-but-set-variable -O2 -DENABLE_THREADS -D_REENTRANT 3 LIBS = -lpthread -lnsl -lircclient -lcrypto 4 5 all: irctk 6 7 irctk: irctk.c 8 $(CC) $(CFLAGS) -o irctk irctk.c $(LIBS) 9 10 clean: 11 -rm -f irctk *.o 12