blob: 589fdc1d05bd3ff50f9a494ceb30e754e1850faa (
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
|
TARGET = gtk
ifeq ($(TARGET),gtk)
X3_PLAT = X3_GTK
X3_INCL = `pkg-config --cflags gtk+-2.0`
X3_LIBS = `pkg-config --libs gtk+-2.0`
endif
ifeq ($(TARGET),carbon)
X3_PLAT = X3_CARBON
X3_LIBS = -framework Carbon
endif
ifeq ($(TARGET),win32)
X3_PLAT = X3_WIN32
X3_LIBS = -lgdi32
endif
CFLAGS = -g -Wall -D$(X3_PLAT) $(X3_INCL) -I../x3/
LDFLAGS = -g
LDLIBS = $(X3_LIBS)
all: ppedit
ppedit: ppedit.o cornu.o bezctx.o bezctx_x3.o bezctx_hittest.o plate.o sexp.o image.o bezctx_ps.o spiro.o ../x3/x3$(TARGET).o ../x3/x3common.o
|