about summary refs log tree commit diff
path: root/editor/pamflip/Makefile
blob: 497c53792438daa1353cf6810e6dbd70fe9fb9a4 (plain) (blame)
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
ifeq ($(SRCDIR)x,x)
  SRCDIR = $(CURDIR)/../..
  BUILDDIR = $(SRCDIR)
endif
SUBDIR = editor/pamflip
VPATH=.:$(SRCDIR)/$(SUBDIR)

include $(BUILDDIR)/config.mk

SUBDIRS =

MERGEBINARIES = pamflip

BINARIES = pamflip

SCRIPTS =

PAMFLIP_OBJECTS = pamflip.o pamflip_sse.o

OBJECTS = $(PAMFLIP_OBJECTS)

MERGE_OBJECTS = $(OBJECTS:%.o=%.o2)

.PHONY: all
all: $(BINARIES) $(SUBDIRS:%=%/all)

include $(SRCDIR)/common.mk

pamflip: $(PAMFLIP_OBJECTS) $(NETPBMLIB) $(LIBOPT)
	$(LD) -o $@ $(PAMFLIP_OBJECTS) \
	  $(shell $(LIBOPT) $(NETPBMLIB)) \
	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)