mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
Minor changes
This commit is contained in:
parent
4f9aced0c3
commit
d89f9840a5
3 changed files with 24 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -1,12 +1,18 @@
|
|||
CC="gcc"
|
||||
|
||||
all: publisher
|
||||
all: publisher client
|
||||
|
||||
publisher:
|
||||
echo "Building publisher..."
|
||||
$(MAKE) -C src/publisher/ CC=$(CC) OUT=$(PWD)
|
||||
|
||||
client:
|
||||
echo "Building client..."
|
||||
$(MAKE) -C src/client/ CC=$(CC) OUT=$(PWD)
|
||||
|
||||
|
||||
clean:
|
||||
$(MAKE) clean -C src/publisher/ CC=$(CC) OUT=$(PWD)
|
||||
$(MAKE) clean -C src/client/ CC=$(CC) OUT=$(PWD)
|
||||
|
||||
.PHONY: clean
|
||||
|
|
10
src/client/Makefile
Normal file
10
src/client/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
EXEC=client
|
||||
CFLAGS=-lzmq
|
||||
|
||||
all: main.c
|
||||
$(CC) $^ -o $(OUT)/$(EXEC) $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(OUT)/$(EXEC)
|
||||
|
||||
.PHONY: clean
|
7
src/client/main.c
Normal file
7
src/client/main.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
|
||||
int main(){
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue