# SlickEdit generated file. Do not edit this file except in designated areas. # Make command to use for dependencies MAKE=make RM=rm MKDIR=mkdir # -----Begin user-editable area----- # -----End user-editable area----- # If no configuration is specified, "Debug" will be used ifndef CFG CFG=Debug endif # # Configuration: Debug # ifeq "$(CFG)" "Debug" OUTDIR=Debug OUTFILE=../lib/demo CFG_INC=-I../inc CFG_LIB=-lsunyard -lpthread CFG_OBJ= COMMON_OBJ=$(OUTDIR)/demo.o $(OUTDIR)/demo_api.o OBJ=$(COMMON_OBJ) $(CFG_OBJ) ALL_OBJ=$(OUTDIR)/demo.o $(OUTDIR)/demo_api.o COMPILE=gcc -c -g -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< LINK=gcc -g -L ../lib -o "$(OUTFILE)" $(ALL_OBJ) $(CFG_LIB) -Wl,-rpath=../lib # Pattern rules $(OUTDIR)/%.o : %.c $(COMPILE) # Build rules all: $(OUTFILE) $(OUTFILE): $(OUTDIR) $(OBJ) $(LINK) $(OUTDIR): $(MKDIR) -p "$(OUTDIR)" # Rebuild this project rebuild: cleanall all # Clean this project clean: $(RM) -f $(OUTFILE) $(RM) -f $(OBJ) # Clean this project and all dependencies cleanall: clean endif