slackbuilds_ponce/system/secure-delete/secure-delete-3.1-makefile.patch
Edinaldo P. Silva 0ce249c55f system/secure-delete: Add more patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-11-21 09:15:26 +07:00

25 lines
744 B
Diff

--- Makefile 2010-08-10 10:44:37.000000000 -0400
+++ Makefile.secure 2010-08-10 10:44:43.000000000 -0400
@@ -18,14 +19,14 @@
sdel-lib.o: sdel-lib.c
$(CC) ${OPT} -c sdel-lib.c
-srm: srm.c
- $(CC) ${OPT} -o srm srm.c sdel-lib.o
-sfill: sfill.c
- $(CC) ${OPT} -o sfill sfill.c sdel-lib.o
-sswap: sswap.c
- $(CC) ${OPT} -o sswap sswap.c sdel-lib.o
-smem: smem.c
- $(CC) ${OPT} -o smem smem.c sdel-lib.o
+srm: srm.o sdel-lib.o
+ $(CC) $(LDFLAGS) srm.o sdel-lib.o -o srm
+sfill: sfill.o sdel-lib.o
+ $(CC) $(LDFLAGS) sfill.o sdel-lib.o -o sfill
+sswap: sswap.o sdel-lib.o
+ $(CC) $(LDFLAGS) sswap.o sdel-lib.o -o sswap
+smem: smem.o sdel-lib.o
+ $(CC) $(LDFLAGS) smem.o sdel-lib.o -o smem
clean:
rm -f sfill srm sswap smem sdel sdel-lib.o