@rem The variable CC65_HOME should point to the cc65 directory
@set CC65_HOME=c:\cc65

@path=%path%;%CC65_HOME%\bin

@REM ca65 -t lynx lynx-160-102-16.s
@REM co65 -o lynx-160-102-16.s --code-label _lynxtgi %CC65_HOME%\tgi\lynx-160-102-16.tgi

@REM Clean
@del *.lnx

@REM Compile
cc65 -t lynx 1.c
ca65 -t lynx 1.s
cl65 -t lynx -o game.lnx 1.o %CC65_HOME%\lib\lynx-160-102-16.o lynx.lib
