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

default: all

include $(BUILDDIR)/config.mk

SUBDIRS =

MERGEBINARIES = pamflip

PORTBINARIES = pamflip

BINARIES = $(PORTBINARIES)

SCRIPTS =

ADDL_OBJECTS = pamflip_sse.o

OBJECTS = pamflip.o $(ADDL_OBJECTS)

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

include $(SRCDIR)/common.mk

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

pamflip_sse.o pamflip_sse.o2: CFLAGS_TARGET = $(CFLAGS_SSE)
pamflip.o pamflip.o2: CFLAGS_TARGET = $(CFLAGS_SSE)

pamflip:%:%.o $(ADDL_OBJECTS)