CC = gcc
CFLAGS = -l pthread -l wiringPi

#all is the file name where your project is stored
all:	ECE4220-AndySherrod

#this defines what files need to be removed when 'make clean' is invoked i.e your executables
clean:
	-rm project
	-rm client

#this is where you define what files to look at when 'make' is invoked
main:	project.c client.c 
#the following is how to define each compile command
#	$(compiler) $(libraries) (create object files) (name of executable) (file to compile from)
	$(CC) $(CFLAGS) -o project project.c
	$(CC) $(CFLAGS) -o client client.c
