summaryrefslogtreecommitdiff
path: root/rvs/wrapper/main.mk.in
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-26 20:32:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:18 -0600
commitafcc02550298ee8f1d74ef265d866a9b38397ce4 (patch)
treef7d0bfa78108a241cefa3df3fc58970c9aad0185 /rvs/wrapper/main.mk.in
parent3ccb49013b94211adbfa81c9d2aa558dd113de7e (diff)
rvs builds! nicely!
Diffstat (limited to 'rvs/wrapper/main.mk.in')
-rw-r--r--rvs/wrapper/main.mk.in22
1 files changed, 12 insertions, 10 deletions
diff --git a/rvs/wrapper/main.mk.in b/rvs/wrapper/main.mk.in
index 8d53d3b..7959612 100644
--- a/rvs/wrapper/main.mk.in
+++ b/rvs/wrapper/main.mk.in
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
name = @name@
-ver = 0.8r60
+ver = 0.9
# Copyright (C) 2009 Luke Shumaker
#
# This file is part of rvs.
@@ -28,10 +28,11 @@ CFLAGS = -g \
-Dplugin_conf=\"plugin.conf\"
# phony targets ####################################################
-all : rvs runcom
+all : rvs runcom Makefiles
.PHONY : install uninstall clean distclean dist install-runcom
.SUFFIXES : .c .o
VPATH = $(srcdir)/wrapper
+filelist=$(patsubst $(srcdir)/wrapper/%,%,$(shell find $(srcdir)/wrapper/* -type f))
# most everything ##################################################
RUNCOM = $(DESTDIR)$(libexecdir)/$(rvs)/runcom
@@ -39,15 +40,15 @@ install : $(RVS) $(RUNCOM)
$(RVS) : rvs $(dir $(RVS))
$(INSTALL_PROGRAM) $< $@
-#OBJ = runcom.o rvs.o plugins.o \
-# plugin-depend.o \
-# plugin-find.o \
-# plugin-load.o \
-# plugin-parse.o \
-# plugin-run.o \
+OBJ = runcom.o rvs.o plugins.o \
+ plugin-depend.o \
+ plugin-find.o \
+ plugin-load.o \
+ plugin-parse.o \
+ plugin-run.o \
-#runcom: $(OBJ)
-# gcc -o $@ $^
+runcom: $(OBJ)
+ $(CC) -o $@ $^
$(RUNCOM): runcom $(dir $(RUNCOM))
$(INSTALL_PROGRAM) $< $@
@@ -67,6 +68,7 @@ uninstall :
$(RM) $(DESTDIR)$(libexecdir)/$(rvs)/runcom
clean :
+ $(RM) *.o *.d
distclean : clean
$(RM) rvs