Mercurial > vim
annotate src/tee/Make_ming.mak @ 32171:9cbd3bf773ab
Added tag v9.0.1416 for changeset 5848a0867b2646079e63fcdee450122203635772
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Mar 2023 22:30:05 +0100 |
parents | ba9d53c7c509 |
children |
rev | line source |
---|---|
30170
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 # A very (if not the most) simplistic Makefile for MS-Windows and OS/2 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 CC=gcc |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 CFLAGS=-O2 -fno-strength-reduce |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 ifneq (sh.exe, $(SHELL)) |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 DEL = rm -f |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 else |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 DEL = del |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 endif |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 tee.exe: tee.o |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 $(CC) $(CFLAGS) -s -o $@ $< |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 tee.o: tee.c |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 $(CC) $(CFLAGS) -c $< |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 clean: |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 - $(DEL) tee.o |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 - $(DEL) tee.exe |
ba9d53c7c509
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 |