From a519d2ab828517fda323f6421fd98cf73603fc0e Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 14 Feb 2016 13:47:27 +0100 Subject: Added/improved support for mxe-based win32 cross builds --- icepll/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'icepll/Makefile') diff --git a/icepll/Makefile b/icepll/Makefile index 9a190f6..b47de3e 100644 --- a/icepll/Makefile +++ b/icepll/Makefile @@ -2,9 +2,10 @@ include ../config.mk LDLIBS = -lm -lstdc++ CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -all: icepll +all: icepll$(EXE) -icepll: icepll.o +icepll$(EXE): icepll.o + $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) install: all mkdir -p $(DESTDIR)$(PREFIX)/bin @@ -14,7 +15,9 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/icepll clean: - rm -f icepll *.o *.d + rm -f icepll + rm -f icepll.exe + rm -f *.o *.d -include *.d -- cgit v1.2.3