Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=dbdaf35f22f30b59266bb8dc9d15c8c2d9c18d1b

commit dbdaf35f22f30b59266bb8dc9d15c8c2d9c18d1b
Author: James Buren <[email protected]>
Date:   Thu Jun 4 15:35:49 2009 -0500

Makefile
* update and clean up

diff --git a/Makefile b/Makefile
index c99c042..81e6b5b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,10 @@
-OBJC    = objc
-FLAGS   = -q -Wall -noSelfAssign -g
-LDFLAGS = -lpacman
-SRC     = util.m pm.m main.m
-OBJ     = cfpm
+CXX      = c++
+CXXFLAGS = -Wall -Wextra -ansi -pedantic -g
+LDFLAGS  = -lpacman
+SRC      = pm.cc main.cc
+OBJ      = cfpm

all:
-       @${OBJC} ${FLAGS} ${LDFLAGS} ${SRC} -o ${OBJ}
+       @${CXX} ${CXXFLAGS} ${LDFLAGS} ${SRC} -o ${OBJ}
clean:
@rm -f *.o *.*~ ${OBJ}
-
-# -%- indent-width: 4; tab-width: 4 -%-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to