From 77246ee32fec25390bc1a8c40cf502df94531e6f Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 26 Sep 2016 02:07:06 +0300 Subject: [PATCH] Added special make rule for music.c, because since it contains a mikmod callback, which might be called from an interrupt, it must be compiled with -zu --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 361a2f2..f17893e 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,9 @@ cflags.occ: Makefile cxxflags.occ: Makefile %write $@ $(CXXFLAGS) +music.obj: music.c + $(CC) -fo=$@ @cflags.occ -zu $[* + .c.obj: .autodepend $(CC) -fo=$@ @cflags.occ $[* -- 1.7.10.4