blob: bfe5fb094f58644642ccce31449f7014aed83429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# We don't need kludgy automatizations here,
# let's use a simple Makefile.
# Just tweak the values below to fix your paths
#
# $Id: Makefile 60 2004-11-12 15:40:18Z jaromil $
CPP = g++
LINKER = ld
CPPFLAGS = -I. -Wall -O2 -fomit-frame-pointer -ffast-math
IVYSYNC_OBJ = decoder.o thread.o linklist.o utils.o cmdline.o
all: ivysync-nox
ivysync-nox: $(IVYSYNC_OBJ)
$(CPP) $(CPPFLAGS) -o ivysync-nox $(IVYSYNC_OBJ) -lpthread
rm -f *.o
#make clean
clean:
rm -rf *.o *~ ivysync-nox
install: ivysync-nox
install ivysync-nox /usr/local/bin
# generic make rules
#%: %.c
# $(CC) $(CFLAGS) -o $@ $< $(LIBS)
#%.o: %.c
# $(CC) $(CFLAGS) -c -o $@ $<
|