Permalink
Browse files

moved the websockets example cb modules into the example dir

  • Loading branch information...
1 parent 53f02fc commit 990bf4723264bb6bad07e3547b00ed6fc871252c @klacke committed Jan 2, 2012
View
@@ -1,5 +1,6 @@
-SUBDIRS = c_src src man www/shoppingcart www/code doc scripts
+SUBDIRS = c_src src man www/shoppingcart www/code doc scripts \
+ examples/src
include ./include.mk
include ./vsn.mk
View
@@ -0,0 +1,24 @@
+include ../../include.mk
+
+ERLC_FLAGS += -I../../include
+
+ifeq ($(TYPE),debug)
+DEBUG_FLAGS = -Ddebug +debug_info
+else
+DEBUG_FLAGS =
+endif
+
+
+MODULES= advanced_echo_callback \
+ authmod_gssapi \
+ basic_echo_callback
+
+EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
+ERLC_FLAGS+=-Werror $(DEBUG_FLAGS) -pa ../../yaws -I ../include
+
+all: $(EBIN_FILES)
+
+clean:
+ rm -f $(EBIN_FILES)
+install: all
+ cp -f ../ebin/*.beam $(DESTDIR)$(VARDIR)/yaws/ebin
File renamed without changes.
File renamed without changes.

0 comments on commit 990bf47

Please sign in to comment.