aboutsummaryrefslogtreecommitdiff
path: root/scaf/modules/Makefile
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-01-21 10:27:33 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-01-21 10:27:33 +0000
commit9b8745d5250c9d0b60c9aa5a77f58a3fcddf1076 (patch)
tree8372b6a414a7124cec57efc9c80845e2bc1b157d /scaf/modules/Makefile
This commit was generated by cvs2svn to compensate for changes in r352,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdp/; revision=353
Diffstat (limited to 'scaf/modules/Makefile')
-rw-r--r--scaf/modules/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/scaf/modules/Makefile b/scaf/modules/Makefile
new file mode 100644
index 0000000..7bb0dc9
--- /dev/null
+++ b/scaf/modules/Makefile
@@ -0,0 +1,21 @@
+OBJ = carules.scafo
+
+SCAFDIR = ../system
+
+.SUFFIXES: .scaf
+.SUFFIXES: .scafo
+
+.scaf.o:
+ $(SCAFDIR)/scafc.pl -I$(SCAFDIR) $*.scaf | as -o $*.o
+
+.o.scafo:
+ gcc -export_dynamic -shared -o $*.scafo $*.o
+ rm $*.o
+ strip --strip-unneeded $*.scafo
+
+all: $(OBJ)
+
+clean:
+ rm -f *.scafo
+ rm -f *~
+