Inclusion of makefile

parent 05eb3255
CC=arm-linux-gnueabihf-gcc
CFLAGS=-I.
OUT_DIR=bin/
server: server.c open62541.c
$(CC) -o $@ $^ $(CFLAGS)
@cp server $(OUT_DIR)
@rm server
clean:
@rm $(OUT_DIR)server 2>/dev/null || true
.PHONY: clean
\ No newline at end of file
......@@ -13,9 +13,7 @@
#include <sys/ioctl.h>
#include <unistd.h>
#include <signal.h>
#include <open62541/plugin/log_stdout.h>
#include <open62541/server.h>
#include <open62541/server_config_default.h>
#include "open62541.h"
// global relay state
uint8_t myrelay = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment