about summary refs log tree commit diff
path: root/generator/pamtris/Makefile
blob: d27606e3850b0361593386402767a101ac09cbb1 (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
ifeq ($(SRCDIR)x,x)
  SRCDIR = $(CURDIR)/../..
  BUILDDIR = $(SRCDIR)
endif
SUBDIR = generator/pamtris
VPATH=.:$(SRCDIR)/$(SUBDIR)

include $(BUILDDIR)/config.mk

PORTBINARIES = pamtris

MERGEBINARIES = $(PORTBINARIES)

BINARIES = $(MERGEBINARIES) $(NOMERGEBINARIES)

ADDL_OBJECTS = boundaries.o framebuffer.o input.o triangle.o utils.o

OBJECTS = pamtris.o $(ADDL_OBJECTS)

MERGE_OBJECTS = pamtris.o2 $(ADDL_OBJECTS)

.PHONY: all
all: $(BINARIES)

pamtris:%:%.o $(ADDL_OBJECTS)

include $(SRCDIR)/common.mk