summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutechre <libretro@gmail.com>2021-05-29 09:32:01 +0200
committerGitHub <noreply@github.com>2021-05-29 09:32:01 +0200
commit104e0e64924de5b4178fd5cd8cc305a812602596 (patch)
tree5c9b99933b00a732050ff4a9b9095b8f0c2d9295
parent50b6210dd08d1015276f668b347d6b75df60902c (diff)
parent08a35c6e3c4526c310f29d4e8ab4cbe358df884d (diff)
Merge pull request #31 from fuzzard/osx_sedfix
[osx] fix build failure for osx due to sed command for %.db.c rule
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d59bb76..a078761 100644
--- a/Makefile
+++ b/Makefile
@@ -352,7 +352,7 @@ m68k.c : m68k.cpu cpu_dsl.py
./cpu_dsl.py -d goto $< > $@
%.db.c : %.db
- sed $< -e 's/"/\\"/g' -e 's/^\(.*\)$$/"\1\\n"/' -e'1s/^\(.*\)$$/const char $(shell echo $< | tr '.' '_')_data[] = \1/' -e '$$s/^\(.*\)$$/\1;/' > $@
+ sed -e 's/"/\\"/g' -e 's/^\(.*\)$$/"\1\\n"/' -e'1s/^\(.*\)$$/const char $(shell echo $< | tr '.' '_')_data[] = \1/' -e '$$s/^\(.*\)$$/\1;/' $< > $@
%.o : %.S
$(CC) -c -o $@ $<