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