Skip to contentSkip to conversation

multipath-tools/path_priority/pp_tpc Makefile

PATCH [email protected] 1 participant 1 message May 6, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: [email protected] 2008-05-06 21:44:04

Modified files:
path_priority/pp_tpc: Makefile

Log message:
compile pp_tpc with debugging.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_tpc/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.1.4.1&r2=1.1.4.2

path_priority/pp_tpc/Makefile +5 -0
@@ -5,6 +5,8 @@
 TOPDIR		= ../..
 include $(TOPDIR)/Makefile.inc
 
+CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes
+
 all: $(BUILD)
 
 glibc:	$(OBJS)
@@ -20,3 +22,6 @@
 	rm $(DESTDIR)$(bindir)/$(EXEC)
 clean:	
 	rm -f *.o $(EXEC)
+
+%.o:	%.c
+	$(CC) $(CFLAGS) -c -o $@ $<