ports/emulators/teo/files/patch-makefile.lnx
Tobias Kortkamp 3eaed5200a New port: emulators/teo
Teo is an emulator of the Thomson TO8 microcomputer for PC, running
on MSDOS, Windows, Linux, and FreeBSD.

The compatibility is close to 100% for softwares which don't use
non emulated peripherals and don't hold physical protections.

WWW: https://sourceforge.net/projects/teoemulator/

PR:		235563
Submitted by:	Thomas Bernard <nanard@free.fr>
2019-02-08 07:44:45 +00:00

28 lines
548 B
Text

--- makefile.lnx.orig 2019-02-06 11:40:45 UTC
+++ makefile.lnx
@@ -15,7 +15,7 @@ UNIX_TOOLS = 1
ifdef DEBUGMODE
# -- debugging build --
-CFLAGS = -g -DDEBUG $(WFLAGS)
+CFLAGS += -g -DDEBUG $(WFLAGS)
LFLAGS = -g
DESCRIPTION = debugging
@@ -23,14 +23,14 @@ else
ifdef PROFILEMODE
# -- profiling build --
-CFLAGS = -pg $(WFLAGS) $(OFLAGS)
+CFLAGS += -pg $(WFLAGS) $(OFLAGS)
LFLAGS = -pg
DESCRIPTION = profiling
else
# -- optimised build --
-CFLAGS = $(WFLAGS) $(OFLAGS)
+CFLAGS += $(WFLAGS)
LFLAGS = -s
DESCRIPTION = optimized