vbeinfo
view Makefile @ 4:d2c44edd8b77
print the framebuffer address
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 07 Jan 2019 13:52:58 +0200 |
parents | 4b33fa83e381 |
children |
line source
1 obj = main.obj vbe.obj dpmi.obj
2 bin = vbeinfo.exe
4 #opt = -5 -fp5 -otexan
5 dbg = -d1
7 !ifdef __UNIX__
8 RM = rm -f
9 !else
10 RM = del
11 !endif
13 CC = wcc386
14 CFLAGS = $(dbg) $(opt) -zq -bt=dos
15 LD = wlink
17 $(bin): $(obj)
18 $(LD) debug all name $@ system dos4g file { $(obj) } $(LDFLAGS)
20 .c: src
22 .c.obj: .autodepend
23 $(CC) -fo=$@ $(CFLAGS) $[*
25 clean: .symbolic
26 $(RM) *.obj
27 $(RM) $(bin)