vbeinfo

annotate 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
rev   line source
nuclear@0 1 obj = main.obj vbe.obj dpmi.obj
nuclear@0 2 bin = vbeinfo.exe
nuclear@0 3
nuclear@0 4 #opt = -5 -fp5 -otexan
nuclear@0 5 dbg = -d1
nuclear@0 6
nuclear@3 7 !ifdef __UNIX__
nuclear@3 8 RM = rm -f
nuclear@3 9 !else
nuclear@3 10 RM = del
nuclear@3 11 !endif
nuclear@3 12
nuclear@0 13 CC = wcc386
nuclear@3 14 CFLAGS = $(dbg) $(opt) -zq -bt=dos
nuclear@0 15 LD = wlink
nuclear@0 16
nuclear@0 17 $(bin): $(obj)
nuclear@3 18 $(LD) debug all name $@ system dos4g file { $(obj) } $(LDFLAGS)
nuclear@0 19
nuclear@0 20 .c: src
nuclear@0 21
nuclear@0 22 .c.obj: .autodepend
nuclear@3 23 $(CC) -fo=$@ $(CFLAGS) $[*
nuclear@0 24
nuclear@0 25 clean: .symbolic
nuclear@3 26 $(RM) *.obj
nuclear@3 27 $(RM) $(bin)