diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-04-27 11:10:36 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-04-27 11:10:36 -0700 |
commit | c3df38dca15342f66cbbf606827ef300c69f7b1b (patch) | |
tree | fce6bbafad2a05070bcd7581acb9d5f93c30ba91 | |
parent | 1f1b6e873813f5cb7ce443b46675008c157d5da0 (diff) | |
download | xrdp-proprietary-c3df38dca15342f66cbbf606827ef300c69f7b1b.tar.gz xrdp-proprietary-c3df38dca15342f66cbbf606827ef300c69f7b1b.zip |
added makefile
-rw-r--r-- | tests/gtcp_proxy/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/gtcp_proxy/Makefile b/tests/gtcp_proxy/Makefile new file mode 100644 index 00000000..4f4c2930 --- /dev/null +++ b/tests/gtcp_proxy/Makefile @@ -0,0 +1,21 @@ + +# := evaluates the expression just once +# = evaluates the expression each time it is used + +CFLAGS := $(shell pkg-config --cflags gtk+-2.0) +CFLAGS += -O2 -Wall +#LDFLAGS = -Wl +LIBS := $(shell pkg-config --libs gtk+-2.0) +LIBS += -ldl -lgthread-2.0 + +OBJS = gtcp-proxy.o gtcp.o + +all: gtcp-proxy + +gtcp-proxy: $(OBJS) + gcc -Wall $(CFLAGS) $(LDFLAGS) gtcp-proxy.c gtcp.o -o gtcp-proxy $(LIBS) + +gtcp.o: gtcp.c + gcc -c gtcp.c +clean:: + -rm gtcp-proxy.o gtcp.o gtcp-proxy |