blob: bd678312f84bb14fcf401ff58e29219edb8a5a10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- Makefile-bla 2010-09-17 14:07:46.000000000 +0200
+++ Makefile 2010-09-17 14:07:58.000000000 +0200
@@ -6,9 +6,6 @@
DESTDIR =
-CC = gcc
-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
INSTALL = install
INSTALLFLAGS = -s
prefix = $(DESTDIR)/usr
@@ -25,12 +22,6 @@
DEFINES = -DVERSION=\"$(VERSION)\" -D__COMPILER__="\"$(COMPILER)\""
OUT = -o $@
-ifeq ($(CC),wcl386)
- CFLAGS = "-ox -wx $(EXTRA_CFLAGS)"
- DEFINES = -dMISS_STRSIGNAL -dMISS_PREAD -dVERSION=\"$(VERSION)\" -d__COMPILER__="\"$(COMPILER)\""
- OUT = ""
-endif
-
default: $(TARGETS)
libfalloc: dd_rescue.c
@@ -43,7 +34,7 @@
$(CC) $(CFLAGS) -DHAVE_FALLOCATE=1 $(DEFINES) $< -o dd_rescue
dd_rescue: dd_rescue.c
- $(CC) $(CFLAGS) $(DEFINES) $< $(OUT)
+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< $(OUT)
strip: dd_rescue
strip -S $<
|