This commit is contained in:
Wolfgang Hottgenroth
2016-05-25 20:30:18 +02:00
commit afd1c22f17
6 changed files with 29390 additions and 0 deletions

23
Makefile Normal file
View File

@ -0,0 +1,23 @@
CC = gcc
CFLAGS = -std=c99 -I ./ # put pre-processor settings (-I, -D, etc) here
LDFLAGS = # put linker settings here
.PHONY: all
all: myServer server_method server_folders
myServer: myServer.o open62541.o
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
server_method: server_method.o open62541.o
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
server_folders: server_folders.o open62541.o
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
.c.o:
$(CC) $(CFLAGS) -c $<
.PHONY: clean
clean:
-rm -f *.o myServer server_method server_folders