
330 S.E.2d 38 (1985)
Kenneth SPEARS
v.
Lucious WALKER and Grace Walker.
No. 8326SC1036.
Court of Appeals of North Carolina.
June 4, 1985.
*39 Harkey, Coira, Fletcher & Lambeth by Charles F. Coira, Jr., Charlotte, for plaintiff-appellant.
Ray & Brooks by Joyce M. Brooks, Charlotte, for defendants-appellees.
ARNOLD, Judge.
The issue before this Court is whether, from the evidence presented, the trial court correctly granted summary judgment classifying the plaintiff as a general contractor and thus barring his action for breach of contract to construct a portion of the defendants' house. We hold that it did.
"Rule 56, Rules of Civil Procedure, authorizes the rendition of summary judgment upon a showing by the movant that there is no genuine issue as to any material fact and that the moving party is entitled *40 to a judgment as a matter of law." Vassey v. Burch, 301 N.C. 68, 72, 269 S.E.2d 137, 140 (1980).
At the time the parties entered into the contract, G.S. § 87-1 provided in pertinent part:
[A] "general contractor" is defined as one who for a fixed price, commission, fee or wage, undertakes to ... construct any building ... where the cost for the undertaking is $30,000 or more....
"The courts of this State have held that an unlicensed person who, in disregard of § 87-1, contracts with another to construct a building for the cost of $30,000.00 or more, may not affirmatively enforce the contract or recover for his services and materials supplied under theory of quantum meruit or unjust enrichment" (citations omitted). Roberts v. Heffner, 51 N.C. App. 646, 651, 277 S.E.2d 446, 450 (1981). In interpreting § 87-1 and ascertaining the extent to which an undertaking and its cost should be attributed to a particular contractor, the courts in North Carolina have focused on the control exercised by the contractor over the project. As this Court stated in Helms v. Dawkins, 32 N.C.App. 453, 456, 232 S.E.2d 710, 712 (1977), overruled on other grounds, Sample v. Morgan, 311 N.C. 717, 319 S.E.2d 607 (1984):
While several factors must be taken into consideration in determining whether a party is a general contractor within the meaning of the contractors' licensing statutes, the principal characteristic distinguishing a general contractor from a subcontractor or other party contracting with the owner, ... is the degree of control to be exercised by the contractor over the construction of the entire project. Ordinarily the degree of control a contractor has over the construction of a particular project is to be determined from the terms of the contract.
In the instant case, the parties failed to memorialize their agreement. From the evidence presented at trial as to the parties' conduct, it is clear that the plaintiff, although not licensed as a general contractor, met the threshold criteria of G.S. § 87-1 and that he exercised a substantial degree of control by his supervision of construction, his purchase of materials and his selection of material suppliers.
The purpose of chapter 87 of N.C. G.S. is to deter unlicensed persons from engaging in the construction business. Bryan Builders Supply v. Midyette, 274 N.C. 264, 270, 162 S.E.2d 507, 510, 511 (1968). A person is a general contractor if the cost of the undertaking exceeds the statutory limit. The plaintiff asserts that the cost of the undertaking was limited to the amount of $16,785.57, the amount agreed upon for plaintiff's supervision and services. Plaintiff submits that the case of Fulton v. Rice, 12 N.C.App. 669, 184 S.E.2d 421 (1971), is determinative as to the meaning of cost of the undertaking. In that case this Court defined undertaking as a promise or engagement. "The cost of the undertaking is therefore the cost of the promise or engagement." Fulton, 12 N.C. App. at 672, 184 S.E.2d at 423. The Court reasoned that where the costs of the building and the contract are not the same, and the contractor has no control over the purchase of materials or other expenses which the owner might incur, allowing the owner's total cost of the building to be determinative would leave the contractor at the mercy of the owner. Id. Fulton is distinguishable from the instant case in that the plaintiff did retain control over the purchase of materials through his own bank account and accounts with the suppliers. The total estimated cost in excess of $63,000 was an estimate given by the plaintiff. The facts indicate that the plaintiff retained supervisory control over much of the work of the subcontractors and over purchases passing through his accounts. The purchases of materials alone totalled over $29,000. This figure together with the amount of $16,785.57 for the plaintiff's services and supervision well exceeds the threshhold amount of $30,000 established by G.S. § 87-1.
Given the uncontroverted evidence of the plaintiff's continuing control over amounts exceeding $30,000, the trial judge's grant *41 of summary judgment was proper and is affirmed.
Affirmed.
MARTIN and PARKER, JJ., concur.
