vbeinfo

diff Makefile @ 0:4b33fa83e381

vbeinfo initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Dec 2015 07:28:47 +0200
parents
children 5b0ef094b8fd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Sat Dec 05 07:28:47 2015 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +obj = main.obj vbe.obj dpmi.obj
     1.5 +bin = vbeinfo.exe
     1.6 +
     1.7 +#opt = -5 -fp5 -otexan
     1.8 +dbg = -d1
     1.9 +
    1.10 +CC = wcc386
    1.11 +CFLAGS = $(dbg) $(opt) -zq -bt=dos -Isrc\stl
    1.12 +LD = wlink
    1.13 +
    1.14 +$(bin): $(obj)
    1.15 +	%write objects.lnk file { $(obj) }
    1.16 +	$(LD) debug all name $@ @objects $(LDFLAGS)
    1.17 +
    1.18 +.c: src
    1.19 +
    1.20 +.c.obj: .autodepend
    1.21 +	$(CC) $(CFLAGS) $[*
    1.22 +
    1.23 +clean: .symbolic
    1.24 +	del *.obj
    1.25 +	del $(bin)