Permalink
Browse files

Actually be able to compile ROP nodes.

  • Loading branch information...
captainhammy committed Jan 28, 2015
1 parent 3b253d6 commit 1635040fb58a5958fc84d4cf2d32c9c09db371ba
Showing with 40 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +29 −0 ROP/Makefile
  3. +10 −0 ROP/ROP_Script/Makefile
View
@@ -1,5 +1,5 @@
-SUBDIRS = SOP
+SUBDIRS = ROP SOP
INSTALLDIRS = $(SUBDIRS:%=install-%)
CLEANDIRS = $(SUBDIRS:%=clean-%)
View
@@ -0,0 +1,29 @@
+
+SUBDIRS = ROP_Script
+
+INSTALLDIRS = $(SUBDIRS:%=install-%)
+CLEANDIRS = $(SUBDIRS:%=clean-%)
+CLOBBERDIRS = $(SUBDIRS:%=clobber-%)
+
+all: $(SUBDIRS)
+$(SUBDIRS):
+ $(MAKE) -C $@
+
+install: $(INSTALLDIRS)
+$(INSTALLDIRS):
+ $(MAKE) -C $(@:install-%=%) install
+
+clean: $(CLEANDIRS)
+$(CLEANDIRS):
+ $(MAKE) -C $(@:clean-%=%) clean
+
+clobber: $(CLOBBERDIRS)
+$(CLOBBERDIRS):
+ $(MAKE) -C $(@:clobber-%=%) clobber
+
+.PHONY: subdirs $(SUBDIRS)
+.PHONY: subdirs $(INSTALLDIRS)
+.PHONY: subdirs $(CLEANDIRS)
+.PHONY: subdirs $(CLOBBERDIRS)
+.PHONY: install clean clobber
+
View
@@ -0,0 +1,10 @@
+
+DSONAME = ROP_Script.so
+HELP = script.txt
+HELPCONTEXT = rop
+ICONS = ROP_script.svg
+SHELFTOOLS = rop_script.shelf
+SOURCES = ROP_Script.C
+
+include $(TOOLBOXDIR)/Makefile.gnu
+

0 comments on commit 1635040

Please sign in to comment.