forked from ArtemioUrbina/huc
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the examples/hucc/sgx and examples/hucc/shmup makefiles now …
…that you don't need to use isolink to make a working .iso for HuCC. Add mesen2 source-level-debugging output to both examples as well.
- Loading branch information
1 parent
104d1ed
commit 3d2568c
Showing
2 changed files
with
14 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
all: sgx_test.iso sgx_test.sgx | ||
all: sgx_test.sgx sgx_test.iso | ||
|
||
include ../Make_ex.inc | ||
|
||
SRC = sgx_test.c | ||
|
||
CFLAGS ?= -sgx -fno-recursive | ||
CDFLAGS = -scd -over | ||
CFLAGS ?= --sgx -fno-recursive -gA | ||
CDFLAGS = --scd | ||
LIBS = | ||
|
||
sgx_test.sgx: $(SRC) | ||
$(CC) $(CFLAGS) $(SRC) $(LIBS) | ||
$(MV) sgx_test.pce $@ | ||
sgx_test.iso: $(SRC) | ||
$(CC) $(CFLAGS) $(CDFLAGS) $< $(LIBS) | ||
|
||
sgx_test.ovl: $(SRC) sgx_test.sgx | ||
$(CC) $(CFLAGS) $(CDFLAGS) $(SRC) $(LIBS) | ||
|
||
sgx_test.iso: sgx_test.ovl | ||
$(IL) $@ -ipl="SuperGRAFX Test" $^ | ||
sgx_test.sgx: $(SRC) sgx_test.iso | ||
$(CC) $(CFLAGS) $< $(LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters