This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:summer2017:cprog:projects:pnc0 [2017/06/19 15:00] – [Grabit Integration] wedge | haas:summer2017:cprog:projects:pnc0 [2017/06/19 15:00] (current) – [Command-Line Arguments] wedge | ||
---|---|---|---|
Line 118: | Line 118: | ||
* as primes are being displayed, they are space-separated (first prime hugs the left margin), and when all said and done, a newline is issued. | * as primes are being displayed, they are space-separated (first prime hugs the left margin), and when all said and done, a newline is issued. | ||
* the timing information will be displayed in accordance to code I will provide below (see the **timing** section). | * the timing information will be displayed in accordance to code I will provide below (see the **timing** section). | ||
+ | |||
+ | =====Grabit Integration===== | ||
+ | For those familiar with the **grabit** tool on lab46, I have made some skeleton files and a custom **Makefile** available for this project. | ||
+ | |||
+ | To " | ||
+ | |||
+ | <cli> | ||
+ | lab46: | ||
+ | make: Entering directory '/ | ||
+ | ‘/ | ||
+ | ‘/ | ||
+ | ‘/ | ||
+ | make: Leaving directory '/ | ||
+ | lab46: | ||
+ | lab46: | ||
+ | Makefile | ||
+ | lab46: | ||
+ | </ | ||
+ | |||
+ | NOTE: You do NOT want to do this on a populated pnc0 project directory-- it will overwrite files. | ||
+ | |||
+ | And, of course, your basic compile and clean-up operations: | ||
+ | |||
+ | * **make**: compile everything | ||
+ | * **make debug**: compile everything with debug support | ||
+ | * **make clean**: remove all binaries | ||
+ | |||
+ | Just another "nice thing" we deserve. | ||
=====Command-Line Arguments===== | =====Command-Line Arguments===== |