Moved test plugins to folder, removed connect plugin

This commit is contained in:
James Booth
2014-06-11 21:42:19 +01:00
parent 2cf98ce8c4
commit 751c59e8b3
7 changed files with 0 additions and 10 deletions

View File

@@ -0,0 +1,18 @@
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LINK_FLAGS := -fno-common -flat_namespace -bundle -undefined suppress
else
LINK_FLAGS := -shared -fpic
endif
all: test-c-plugin.so
%.so:%.o
$(CC) $(LINK_FLAGS) -lprofanity -o $@ $^
%.o:%.c
$(CC) $(INCLUDE) -D_GNU_SOURCE -D_BSD_SOURCE -fpic -O3 -std=c99 \
-Wall -Wextra -pedantic -c -o $@ $<
clean:
$(RM) test-c-plugin.so