From e5ac5d6d7ca49e1280fe498c373d95843412419d Mon Sep 17 00:00:00 2001 From: nima Date: Thu, 7 Aug 2008 12:32:39 +0000 Subject: Cleaned up a little. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@63 abc39116-655e-4be6-ad55-d661dc543056 --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5062792..7bed2a9 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ CFLAGS += -I/usr/include/$(PY) #CFLAGS += -DALIGNMENT_WORKAROUND #. #. When debugging, disable -O2 and enable -g. -CFLAGS += -g -DNDEBUG -#CFLAGS += -O2 +CFLAGS += -g +#CFLAGS += -O2 -DNDEBUG SOFLAGS = -shared -fPIC @@ -48,11 +48,12 @@ PROGRAMS += $(shell test `uname -m 2>/dev/null` != ia64 && echo biosdecode owner PROGRAMS != echo dmidecode ; test `uname -m 2>/dev/null` != ia64 && echo biosdecode ownership vpddecode -all : $(PROGRAMS) +all : $(PROGRAMS) module module: - python setup.py clean python setup.py build + +install: python setup.py install python -c 'import dmidecode' @@ -153,3 +154,5 @@ clean : python setup.py clean $(RM) *.so *.o $(PROGRAMS) core rm -rf build + +.PHONY: install clean module all -- cgit