view pwpzax/Makefile @ 82:1013256040d5

Clean up build process.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Feb 2013 00:39:19 +0200
parents 678924af9149
children
line wrap: on
line source

include ../config.mak

TARGETS=
ifeq ($(XTARGET),sdl)
TARGETS += zaxplay$(BINEXT)
endif
ifeq ($(XTARGET),sdl-win32)
TARGETS += zaxplay$(BINEXT)
endif
ifeq ($(XTARGET),linux)
TARGETS += orig$(BINEXT)
endif

all: $(TARGETS)

include ../Makefile.inc


zaxplay$(BINEXT): zaxplay.o
	$(CC) -o $@ $< $(LDFLAGS)


orig: orig.c
	$(CC) -o $@ $< $(LDFLAGS)