You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
377 B
18 lines
377 B
7 years ago
|
CFILES=../demo.c ../utils.c ../../TinyFrame.c
|
||
|
INCLDIRS=-I. -I.. -I../..
|
||
|
CFLAGS=-O0 -ggdb --std=gnu99 -Wno-main -Wall -Wextra $(CFILES) $(INCLDIRS)
|
||
|
|
||
|
build: master.bin slave.bin
|
||
|
|
||
|
master: master.bin
|
||
|
./master.bin
|
||
|
|
||
|
slave: slave.bin
|
||
|
./slave.bin
|
||
|
|
||
|
master.bin: master.c $(CFILES)
|
||
|
gcc master.c $(CFLAGS) -o master.bin
|
||
|
|
||
|
slave.bin: slave.c $(CFILES)
|
||
|
gcc slave.c $(CFLAGS) -o slave.bin
|