#
# Make FPP using LCC-Win32
#

CC = lcc
#CC = lcc -D__MSDOS__
LINKER = lcclnk
RC = lrc
#LOPTS = -subsystem console -s
LOPTS = -subsystem windows -s
OBJS = main.obj fpp.obj hw.obj timer.obj hex.obj\
       mess.obj fppgui.obj setup.obj reg.obj

fpp.exe:	$(OBJS) fppgui.res
		$(LINKER) $(LOPTS) -o fpp.exe $(OBJS) fppgui.res

main.obj:	main.c fpp.h makefile

fpp.obj:	fpp.c fpp.h timer.h hex.h hw.h version.h makefile

hw.obj: 	hw.c hw.h fpp.h timer.h makefile

timer.obj:	timer.c timer.h makefile

hex.obj:	hex.c hex.h makefile

mess.obj:	mess.c fpp.h makefile

setup.obj:	setup.c resource.h makefile

reg.obj:	reg.c fpp.h version.h makefile

fppgui.obj:	fppgui.c resource.h fpp.h makefile

fppgui.res:	fppgui.rc resource.h version.h fpp.ico makefile
		$(RC) fppgui.rc

clean:
		del *.obj
		del *.res



