
distri and nodeset feature * add UaModeler project including XML export * add nodeset using test server
27 lines
763 B
Makefile
27 lines
763 B
Makefile
CC = gcc
|
|
CFLAGS = -std=c99 -I ./ -I ./include -DUA_NO_AMALGAMATION # put pre-processor settings (-I, -D, etc) here
|
|
LDFLAGS = # put linker settings here
|
|
|
|
.PHONY: all
|
|
all: myServer server_method server_folders myTestModelServer
|
|
|
|
myServer: myServer.o ./lib/libopen62541-static.a
|
|
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
|
|
|
|
server_method: server_method.o ./lib/libopen62541-static.a
|
|
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
|
|
|
|
server_folders: server_folders.o ./lib/libopen62541-static.a
|
|
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
|
|
|
|
myTestModelServer: myTestModelServer.o TestModel.o ./lib/libopen62541-static.a
|
|
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f *.o myServer server_method server_folders myTestModelServer
|
|
|