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