view pwpzax/Makefile @ 84:969fff31e495

Fix mingw cross build.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Feb 2013 00:40:26 +0200
parents 1013256040d5
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)