mirror of
https://gitlab.com/kholdfuzion/goldeneye_src
synced 2026-08-27 07:47:07 -04:00
james bond will return.
This commit is contained in:
@@ -50,12 +50,7 @@ $(BUILD_DIR)/$(OBSEGMENT): $(OBSEG_RZ) $(IMAGE_OBJS)
|
||||
|
||||
#Build C files in src/
|
||||
$(BUILD_DIR)/src/%.o: src/%.c
|
||||
@if grep -q 'GLOBAL_ASM(' $<; then \
|
||||
$(ASM_PREPROC) $(OPTIMIZATION) $< | $(CC) -c $(CFLAGS) tools/asm-processor/include-stdin.c -o $@ $(OPTIMIZATION); \
|
||||
$(ASM_PREPROC) $(OPTIMIZATION) $< --post-process $@ --assembler "$(AS) $(ASFLAGS)" --asm-prelude tools/asm-processor/prelude.s; \
|
||||
else \
|
||||
$(CC) -c $(CFLAGS) -o $@ $(OPTIMIZATION) $<; \
|
||||
fi
|
||||
$(CC) -c $(CFLAGS) -o $@ $(OPTIMIZATION) $<
|
||||
|
||||
|
||||
#Build RamRom
|
||||
|
||||
@@ -18,8 +18,3 @@
|
||||
#include <PR/ucode.h>
|
||||
|
||||
#endif
|
||||
|
||||
//temporary catchall fix since not all files in master include bondgame
|
||||
#ifdef __INTELLISENSE__
|
||||
#define GLOBAL_ASM(...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user