# Wedit Makefile for project werty SRCDIR=c:\users\user\desktop\ci\treevis CFLAGS=-I"C:\lcc\include" -g2 CC=$(LCCROOT)\bin\lcc.exe LINKER=$(LCCROOT)\bin\lcclnk.exe OBJS=\ werty.obj LIBS= EXE=werty.exe $(EXE): $(OBJS) Makefile $(LINKER) -subsystem console -o $(SRCDIR)\lcc1\werty.exe $(OBJS) $(LIBS) # Build werty.c WERTY_C=\ c:\lcc\include\_syslist.h\ c:\lcc\include\_syslist.h\ c:\lcc\include\safelib.h\ werty.obj: $(WERTY_C) $(SRCDIR)\werty.c $(CC) -c $(CFLAGS) $(SRCDIR)\werty.c link: $(LINKER) -subsystem console -o $(SRCDIR)\lcc1\werty.exe $(OBJS) $(LIBS) clean: del $(OBJS) werty.exe