You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
665 B
22 lines
665 B
Index: Makefile |
|
--- Makefile.orig 2012-07-30 19:18:46.000000000 +0200 |
|
+++ Makefile 2012-07-31 08:59:50.000000000 +0200 |
|
@@ -1,5 +1,7 @@ |
|
VERSION=1.1.1 [$(shell if test -f manifest.uuid; then cat manifest.uuid | cut -c -10 ; else echo undefined; fi)] |
|
-CFLAGS+=-DVERSION="$(VERSION)" -D_FILE_OFFSET_BITS=64 -g -Wall -Wextra |
|
+CFLAGS=$(MY_CFLAGS) |
|
+LDFLAGS=$(MY_LDFLAGS) |
|
+CFLAGS+=-DVERSION="$(VERSION)" -D_FILE_OFFSET_BITS=64 |
|
|
|
PREFIX?=/usr/local |
|
|
|
@@ -16,6 +18,9 @@ |
|
index_from_tar.o block.o blockprocess.o filememory.o \ |
|
readtar.o extract.o listindex.o rsync.o string.o |
|
|
|
+.c.o: |
|
+ $(CC) $(CFLAGS) -c -o $@ $< |
|
+ |
|
btar: $(OBJECTS) |
|
$(CC) -o $@ $^ $(LDFLAGS) |
|
|
|
|