- Timestamp:
- 08/06/2017 08:07:37 AM (7 years ago)
- Branches:
- master
- Children:
- 59ea67d
- Parents:
- 29618fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r29618fe r65e7a3a 4 4 GCC := gcc 5 5 SDL2 := /opt/sdl2 6 EXT := 6 7 else 7 8 GCC := x86_64-w64-mingw32-gcc 8 9 SDL2 := /opt/sdl2-win 10 EXT := .exe 9 11 endif 10 12 … … 77 79 HEADERS := $(wildcard cpu/*.h) $(wildcard emu/*.h) 78 80 79 all: buchla buchla.disk81 all: buchla$(EXT) buchla.disk 80 82 81 83 build: … … 116 118 $(GCC) $(FLAGS_EMU) -c -o $@ $< 117 119 118 buchla :$(CPU_OP) $(GEN_OP) $(EMU_OP)119 $(GCC) $(FLAGS_LNK) -o buchla \120 buchla$(EXT): $(CPU_OP) $(GEN_OP) $(EMU_OP) 121 $(GCC) $(FLAGS_LNK) -o buchla$(EXT) \ 120 122 $(CPU_OP) $(GEN_OP) $(EMU_OP) \ 121 123 $(LIBS) 122 124 123 mkdisk :emu/mkdisk.c124 $(GCC) $(FLAGS_AUX) -o mkdisk emu/mkdisk.c125 mkdisk$(EXT): emu/mkdisk.c 126 $(GCC) $(FLAGS_AUX) -o mkdisk$(EXT) emu/mkdisk.c 125 127 126 buchla.disk: mkdisk midas.abs127 ./mkdisk 128 buchla.disk: mkdisk$(EXT) midas.abs 129 ./mkdisk$(EXT) 128 130 129 run: buchla buchla.disk130 ./buchla ${EMU_OPTS}131 run: buchla$(EXT) buchla.disk 132 ./buchla$(EXT) ${EMU_OPTS} 131 133 132 val: buchla buchla.disk134 val: buchla$(EXT) buchla.disk 133 135 valgrind --leak-resolution=high --track-fds=yes --leak-check=full \ 134 136 --show-reachable=yes --suppressions=misc/buchla.supp \ 135 ./buchla ${EMU_OPTS}137 ./buchla$(EXT) ${EMU_OPTS} 136 138 137 139 clean: 138 140 rm -rf build 139 rm -f buchla 140 rm -f mkdisk 141 rm -f buchla$(EXT) 142 rm -f mkdisk$(EXT) 141 143 rm -f buchla.disk
Note:
See TracChangeset
for help on using the changeset viewer.