Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 76627 | Differences between
and this patch

Collapse All | Expand All

(-)lzma-0.02-orig/Makefile (-11 / +3 lines)
Lines 1-21 Link Here
1
#!make
1
#!make
2
2
3
CC=gcc
4
CXX=g++
5
6
CFLAGS=-O3 -march=i686 -fomit-frame-pointer -pipe -g -s
7
#CFLAGS=-Os -march=i386 -s
8
9
LFLAGS=$(CFLAGS)
10
11
TARGET=lzma
3
TARGET=lzma
12
4
13
default all: $(TARGET)
5
default all: $(TARGET)
14
6
15
$(TARGET): clean
7
$(TARGET): clean
16
	$(CC) -c $(CFLAGS) *.c
8
	$(CC) -c $(CFLAGS) *.c
17
	$(CXX) $(CFLAGS) -c *.cc
9
	$(CXX) $(CXXFLAGS) -c *.cc
18
	$(CXX) $(LFLAGS) *.o -o $(TARGET)
10
	$(CXX) $(LDFLAGS) *.o -o $(TARGET)
19
11
20
clean:
12
clean:
21
	$(RM) *.o $(TARGET)
13
	rm -f *.o $(TARGET)

Return to bug 76627