From: John Tsiombikas Date: Sun, 25 Sep 2016 23:07:06 +0000 (+0300) Subject: Added special make rule for music.c, because since it contains a mikmod X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=inline;h=77246ee32fec25390bc1a8c40cf502df94531e6f;hp=-c;p=dosdemo 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 --- 77246ee32fec25390bc1a8c40cf502df94531e6f 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 $[*