*** Makefile.orig Sun Jan 22 07:29:28 2006
--- Makefile Sun Jan 22 07:38:16 2006
***************
*** 1,10 ****
! CC=gcc
! CXXFLAGS=-Wall -O2
! CFLAGS=-Wall -O2
! LDFLAGS=-lstdc++
VERSION=0.2
OBJS=slst.o error.o utils.o intcnt.o array.o
all: slst
--- 1,10 ----
! #CC=gcc
! #CXXFLAGS=-Wall -O2
! #CFLAGS=-Wall -O2
! LDFLAGS+=-lstdc++
VERSION=0.2
OBJS=slst.o error.o utils.o intcnt.o array.o
all: slst
***************
*** 12,22 ****
slst: $(OBJS)
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst
# strip slst
install: slst
! cp slst /usr/bin
clean:
rm -f $(OBJS) slst core
package: clean
--- 12,22 ----
slst: $(OBJS)
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst
# strip slst
install: slst
! ${INSTALL} -m 755 slst ${PREFIX}/bin
clean:
rm -f $(OBJS) slst core
package: clean
syntax highlighted by Code2HTML, v. 0.9.1