Debian Codegraph @

libctsupport/Makefile.nt

raw
1 # Makefile for libk
2
3 !include <ntwin32.mak>
4
5 CC=cl
6 LD=link
7 CFLAGS=-O -nologo -I..\include -DENDIAN_HIGH=0 -DENDIAN_LOW=1
8 LDFLAGS=
9 O=.obj
10
11 # variables
12 OBJ1 = kbasename$(O) allocnum$(O) fexist$(O) iclip$(O) sysalloc$(O) syserror$(O) sysfopen$(O) sysfree$(O) s_head$(O) s_lower$(O) s_rmtail$(O) s_save$(O) timedate$(O) netorder$(O)
13
14 all: libk.lib
15
16 .obj: .c
17 $(CC) -c $(cvarsdll) $(CFLAGS) $*.c
18
19
20 libk.lib: $(OBJ1)
21 echo something to del > libk.lib
22 del libk.lib
23 lib /out:libk.lib $(OBJ1)
24
25
26 clean:
27 echo dummy > a.obj
28 echo dummy > a.exe
29 echo dummy > a.lib
30 del *.obj
31 del *.exe
32 del *.lib