1# This software is Copyright (c) 2016,2018 Denis Burykin 2# [denis_burykin yahoo com], [denis-burykin2014 yandex ru] 3# and it is hereby released to the general public under the following terms: 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted. 6 7CC = gcc 8CFLAGS = -c -Wall -O2 9 10OBJS = pkt_comm.o word_gen.o word_list.o cmp_config.o inpkt.o init_data.o 11 12default: $(OBJS) 13all: $(OBJS) 14 15 16pkt_comm.o: pkt_comm.c pkt_comm.h 17 $(CC) $(CFLAGS) pkt_comm.c 18 19word_gen.o: word_gen.c word_gen.h pkt_comm.h 20 $(CC) $(CFLAGS) word_gen.c 21 22word_list.o: word_list.c word_list.h pkt_comm.h 23 $(CC) $(CFLAGS) word_list.c 24 25cmp_config.o: cmp_config.c cmp_config.h 26 $(CC) $(CFLAGS) cmp_config.c 27 28inpkt.o: inpkt.c inpkt.h 29 $(CC) $(CFLAGS) inpkt.c 30 31init_data.o: init_data.c init_data.h 32 $(CC) $(CFLAGS) init_data.c 33 34clean: 35 rm -f $(OBJS) 36