X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=9eb15153f732fd18eeb08be0b0d3d5f36addc747;hb=6120587cce15206faa7a38207961a89110de3bcd;hp=05eac20427972082c58fde8c2405ae6c3b53e636;hpb=5363ed21fccc528965a8482b3b71fe0133595499;p=oftp diff --git a/Makefile b/Makefile index 05eac20..9eb1515 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ -obj = main.obj tgfx.obj tui.obj darray.obj util.obj input.obj +obj = main.obj tgfx.obj tui.obj tui_list.obj darray.obj util.obj input.obj ftp.obj bin = oftp.exe !ifdef __UNIX__ -incpath = -Isrc -Isrc/dos +incpath = -Isrc -Isrc/dos -Ilibs/watt32 +libs = library libs/watt32/wattcpwf.lib !else -incpath = -Isrc -Isrc\dos +incpath = -Isrc -Isrc\dos -Ilibs\watt32 +libs = library libs\watt32\wattcpwf.lib !endif #opt = -otexan @@ -14,6 +16,7 @@ dbg = -d3 CC = wcc386 LD = wlink CFLAGS = $(warn) $(dbg) $(opt) $(incpath) $(def) -zq -bt=dos +LDFLAGS = $(libs) $(bin): $(obj) %write objects.lnk $(obj) @@ -31,4 +34,5 @@ $(bin): $(obj) clean: .symbolic del *.obj del objects.lnk + del oftp.map del $(bin)