diff options
Diffstat (limited to 'wrapper/main.mk.in')
-rw-r--r-- | wrapper/main.mk.in | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/wrapper/main.mk.in b/wrapper/main.mk.in index 8d53d3b..7959612 100644 --- a/wrapper/main.mk.in +++ b/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 |