OLD | NEW |
1 # $Id: Makefile.flat 2284 2010-02-06 09:27:32Z peter $ | |
2 # | |
3 # Ultra-flat Makefile "prototype" for non-Unix platforms. | 1 # Ultra-flat Makefile "prototype" for non-Unix platforms. |
4 # Does NOT depend on or use configure. | 2 # Does NOT depend on or use configure. |
5 # | 3 # |
6 # Works for simple build but *not* for development (no clean, dist, etc). | 4 # Works for simple build but *not* for development (no clean, dist, etc). |
7 # Also, WARNING, no header dependencies are included! | 5 # Also, WARNING, no header dependencies are included! |
8 # | 6 # |
9 # NOTE: Needs a valid config.h for the platform being compiled on. | 7 # NOTE: Needs a valid config.h for the platform being compiled on. |
10 # | 8 # |
11 # This file should be customized to particular platforms by changing CC and | 9 # This file should be customized to particular platforms by changing CC and |
12 # CFLAGS appropriately, along with writing a config.h and _stdint.h for the | 10 # CFLAGS appropriately, along with writing a config.h and _stdint.h for the |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 190 |
193 modules/parsers/nasm/nasm-parser.c: nasm-macros.c | 191 modules/parsers/nasm/nasm-parser.c: nasm-macros.c |
194 | 192 |
195 win64-nasm.c: modules/objfmts/coff/win64-nasm.mac genmacro | 193 win64-nasm.c: modules/objfmts/coff/win64-nasm.mac genmacro |
196 ./genmacro $@ win64_nasm_stdmac modules/objfmts/coff/win64-nasm.mac | 194 ./genmacro $@ win64_nasm_stdmac modules/objfmts/coff/win64-nasm.mac |
197 win64-gas.c: modules/objfmts/coff/win64-gas.mac genmacro | 195 win64-gas.c: modules/objfmts/coff/win64-gas.mac genmacro |
198 ./genmacro $@ win64_gas_stdmac modules/objfmts/coff/win64-gas.mac | 196 ./genmacro $@ win64_gas_stdmac modules/objfmts/coff/win64-gas.mac |
199 | 197 |
200 modules/objfmts/coff/coff-objfmt.c: win64-nasm.c win64-gas.c | 198 modules/objfmts/coff/coff-objfmt.c: win64-nasm.c win64-gas.c |
201 | 199 |
202 genversion: modules/preprocs/nasm/genversion.c | 200 genversion: modules/preprocs/nasm/genversion.c YASM-VERSION.h |
203 $(BUILDCC) -IMkfiles -I. -o $@ $< | 201 $(BUILDCC) -IMkfiles -I. -o $@ $< |
204 | 202 |
205 version.mac: genversion | 203 version.mac: genversion |
206 ./genversion $@ | 204 ./genversion $@ |
207 | 205 |
208 genmodule: libyasm/genmodule.c | 206 genmodule: libyasm/genmodule.c |
209 $(BUILDCC) -o $@ $< | 207 $(BUILDCC) -o $@ $< |
210 | 208 |
211 module.c: libyasm/module.in genmodule | 209 module.c: libyasm/module.in genmodule |
212 ./genmodule libyasm/module.in Mkfiles/Makefile.flat | 210 ./genmodule libyasm/module.in Mkfiles/Makefile.flat |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 265 |
268 ytasm: $(YTASM_OBJS) | 266 ytasm: $(YTASM_OBJS) |
269 $(CC) -o ytasm $(YTASM_OBJS) | 267 $(CC) -o ytasm $(YTASM_OBJS) |
270 | 268 |
271 vsyasm: $(VSYASM_OBJS) | 269 vsyasm: $(VSYASM_OBJS) |
272 $(CC) -o vsyasm $(VSYASM_OBJS) | 270 $(CC) -o vsyasm $(VSYASM_OBJS) |
273 | 271 |
274 .c.o: | 272 .c.o: |
275 $(CC) -c $(CFLAGS) -o $@ $< | 273 $(CC) -c $(CFLAGS) -o $@ $< |
276 | 274 |
| 275 $(YASM_OBJS) $(YTASM_OBJS) $(VSYASM_OBJS): YASM-VERSION.h |
| 276 |
| 277 YASM-VERSION.h: YASM-VERSION-GEN.sh |
| 278 sh YASM-VERSION-GEN.sh |
| 279 |
OLD | NEW |