Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 669 Bytes
APPVER = 5.0
TARGETOS = WINNT
!include <win32.mak>
!ifndef nounicode
cvarsdll = $(cvarsdll) -DUNICODE -D_UNICODE
!endif
OUTDIR=.\bin\win32
TARGET=$(OUTDIR)\cbmbasic.exe
build: "$(OUTDIR)" "$(TARGET)"
rebuild: clean build
clean:
-erase /f /q "$(OUTDIR)\*.*"
-rmdir "$(OUTDIR)"
.c{$(OUTDIR)}.obj:
$(cc) $(cdebug) $(cflags) $(cvarsdll) -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 /Fo"$(OUTDIR)/" /Fd"$(OUTDIR)/" $<
"$(OUTDIR)":
mkdir "$(OUTDIR)"
"$(TARGET)": "$(OUTDIR)\cbmbasic.obj" "$(OUTDIR)\runtime.obj" "$(OUTDIR)\readdir.obj" "$(OUTDIR)\plugin.obj" "$(OUTDIR)\console.obj"
$(link) $(ldebug) $(conlflags) -out:"$(TARGET)" $** $(conlibsdll)