-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.ini
56 lines (44 loc) · 1.3 KB
/
Makefile.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# $XConsortium: Makefile.ini,v 1.20 93/09/04 16:08:40 rws Exp $
#
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING
#
# This is NOT an automatically generated Makefile! It is hand-crafted as a
# bootstrap, may need editing for your system. The BOOTSTRAPCFLAGS variable
# may be given at the top of the build tree for systems that do not define
# any machine-specific preprocessor symbols.
#
BOOTSTRAPCFLAGS =
CC = cc
CDEBUGFLAGS = -O
INCLUDES = -I../../include
CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
SHELL = /bin/sh
RM = rm -f
MAKE = make
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
tags TAGS make.log
NPROC = 1
imake::
@echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)"
imake:: imake.o
$(CC) -o imake imake.o
imake.o: ccimake imake.c
$(CC) -c $(CFLAGS) `./ccimake` imake.c
ccimake: ccimake.c
$(CC) -o ccimake $(CFLAGS) ccimake.c
relink:
$(RM) imake
$(MAKE) $(MFLAGS) imake
clean:
$(RM) ccimake imake.o imake
$(RM_CMD) \#*
depend:
imake.exe::
@echo making imake with BOOTSTRAPCFLAGS=-DWIN32
imake.exe:: imake.obj
cl -nologo -batch imake.obj libc.lib kernel32.lib
imake.obj: imake.c
cl -nologo -batch -W2 -D__STDC__ -c -DWIN32 $(CFLAGS) imake.c
clean.Win32:
if exist imake.exe del imake.exe
if exist imake.obj del imake.obj