lphdisk (0.9.1.ds1-1) Makefile

Summary

 Makefile |   20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

    
download this patch

Patch contents

--- lphdisk-0.9.1.ds1.orig/Makefile
+++ lphdisk-0.9.1.ds1/Makefile
@@ -7,34 +7,18 @@
 INSTALL_PREFIX = /usr/local
 
 CFLAGS = -g -Wall
-LIBS =
-
-LRMIDIR = lrmi-0.6m
+LDLIBS = -lx86
 
 all:       lphdisk
 
-lphdisk:   lphdisk.o lrmi.o
-	$(CC) $(CFLAGS) -o lphdisk lphdisk.o lrmi.o $(LIBS)
-
-lphdisk.o: lphdisk.c lrmi.h vbe.h
-
-lrmi.o:
-	cd $(LRMIDIR) && $(MAKE) $@
-	cp $(LRMIDIR)/lrmi.o .
-
-%.h: $(LRMIDIR)/%.h
-	cp $^ $@
-
 install: all
 	install -m 755 lphdisk $(INSTALL_PREFIX)/sbin
 	install -m 644 lphdisk.8 $(INSTALL_PREFIX)/man/man8
 
 clean:
-	cd $(LRMIDIR) && $(MAKE) $@
-	rm -f *.o lrmi.h vbe.h
+	rm -f *.o
 
 distclean: clean
-	cd $(LRMIDIR) && $(MAKE) $@
 	rm -f lphdisk
 
 .PHONY: all install clean distclean