source: trunk/src/testing/app/ImageFlip/Makefile @ 4

Revision 4, 458 bytes checked in by ajaworski, 13 years ago (diff)

Added modified SAGE sources

Line 
1
2SAGE_DIR = ../..
3
4CFLAGS=`Wand-config --cflags --cppflags`  -I$(SAGE_DIR)/include -fno-stack-protector
5LIBS= `Wand-config --ldflags --libs` -lpthread -lstdc++ -lltdl -L$(SAGE_DIR)/lib -lsail  -lquanta
6
7FILES=imageflip.o util.o
8TARGET=imageflip
9
10
11default: $(TARGET)
12
13install: $(TARGET)
14        /bin/cp -f imageflip $(SAGE_DIR)/bin
15       
16imageflip: $(FILES)
17        g++ -o imageflip $(FILES) $(LIBS)
18
19%.o: %.cpp
20        g++ $(CFLAGS) -c -o $@ $<
21
22clean:
23        /bin/rm -f *.o *~ imageflip
24
Note: See TracBrowser for help on using the repository browser.